source:
contrib/GoogleGears/Linux-Firefox3.6/gears-gcc433.diff
@
4070
Revision 4070, 6.6 KB checked in by rafaelraymundo, 13 years ago (diff) |
---|
-
gears/geolocation/backoff_manager.cc
26 26 #include "gears/geolocation/backoff_manager.h" 27 27 28 28 #include <assert.h> 29 #include <stdlib.h> 29 30 30 31 // The baseline minimum period between network requests. 31 32 static const int kBaselineMinimumRequestInterval = 1000 * 5; // 5 seconds -
gears/cctests/test.cc
700 700 701 701 bool ok = false; 702 702 JsParamType t = context->GetArgumentType(1); 703 if ( type == STRING16(L"bool") && t == JSPARAM_BOOL||704 type == STRING16(L"int") && t == JSPARAM_INT||705 type == STRING16(L"double") && t == JSPARAM_DOUBLE||706 type == STRING16(L"string") && t == JSPARAM_STRING16||707 type == STRING16(L"null") && t == JSPARAM_NULL||708 type == STRING16(L"undefined") && t == JSPARAM_UNDEFINED||709 type == STRING16(L"array") && t == JSPARAM_ARRAY||710 type == STRING16(L"function") && t == JSPARAM_FUNCTION||711 type == STRING16(L"object") && t == JSPARAM_OBJECT) {703 if ((type == STRING16(L"bool") && t == JSPARAM_BOOL) || 704 (type == STRING16(L"int") && t == JSPARAM_INT) || 705 (type == STRING16(L"double") && t == JSPARAM_DOUBLE) || 706 (type == STRING16(L"string") && t == JSPARAM_STRING16) || 707 (type == STRING16(L"null") && t == JSPARAM_NULL) || 708 (type == STRING16(L"undefined") && t == JSPARAM_UNDEFINED) || 709 (type == STRING16(L"array") && t == JSPARAM_ARRAY) || 710 (type == STRING16(L"function") && t == JSPARAM_FUNCTION) || 711 (type == STRING16(L"object") && t == JSPARAM_OBJECT)) { 712 712 ok = true; 713 713 } 714 714 context->SetReturnValue(JSPARAM_BOOL, &ok); -
gears/desktop/desktop.cc
216 216 } 217 217 218 218 // Resolve the icon urls 219 if ( !shortcut_info->icon16x16.url.empty() &&220 !ResolveUrl(&shortcut_info->icon16x16.url, &error_) ||221 !shortcut_info->icon32x32.url.empty() &&222 !ResolveUrl(&shortcut_info->icon32x32.url, &error_) ||223 !shortcut_info->icon48x48.url.empty() &&224 !ResolveUrl(&shortcut_info->icon48x48.url, &error_) ||225 !shortcut_info->icon128x128.url.empty() &&226 !ResolveUrl(&shortcut_info->icon128x128.url, &error_)) {219 if ((!shortcut_info->icon16x16.url.empty() && 220 !ResolveUrl(&shortcut_info->icon16x16.url, &error_)) || 221 (!shortcut_info->icon32x32.url.empty() && 222 !ResolveUrl(&shortcut_info->icon32x32.url, &error_)) || 223 (!shortcut_info->icon48x48.url.empty() && 224 !ResolveUrl(&shortcut_info->icon48x48.url, &error_)) || 225 (!shortcut_info->icon128x128.url.empty() && 226 !ResolveUrl(&shortcut_info->icon128x128.url, &error_))) { 227 227 return false; 228 228 } 229 229 -
gears/base/common/string16.h
46 46 #define GEARS_BASE_COMMON_STRING16_H__ 47 47 48 48 #include <string> 49 #include <string.h> 49 50 #include "gears/base/common/basictypes.h" 50 51 51 52 // Need to cast literals (Linux, OSX) and SQLite void* retvals (all platforms) -
gears/base/common/string_utils.cc
25 25 26 26 #include "gears/base/common/string_utils.h" 27 27 #include "third_party/convert_utf/ConvertUTF.h" 28 #include <limits.h> 28 29 29 30 #if defined(OS_ANDROID) 30 31 // Android is missing wcslen. This is just a wide character strlen. -
gears/base/common/http_utils.cc
27 27 28 28 #include <iterator> 29 29 #include <vector> 30 #include <stdlib.h> 30 31 #include "gears/base/common/http_utils.h" 31 32 32 33 // ---------------------------------------------------------------------- -
third_party/jsoncpp/json_reader.cc
3 3 #include <utility> 4 4 #include <stdio.h> 5 5 #include <assert.h> 6 #include <string.h> 6 7 7 8 #if _MSC_VER >= 1400 // VC++ 8.0 8 9 #pragma warning( disable : 4996 ) // disable warning about strdup being deprecated. -
third_party/jsoncpp/json_value.cc
1 1 #include "third_party/jsoncpp/value.h" 2 2 #include "third_party/jsoncpp/writer.h" 3 3 #include <utility> 4 #include <string.h> 4 5 #include "assert.h" 5 6 #ifdef JSON_USE_CPPTL 6 7 # include <cpptl/conststring.h> -
third_party/jsoncpp/json_writer.cc
2 2 #include <utility> 3 3 #include <assert.h> 4 4 #include <stdio.h> 5 #include <string.h> 5 6 6 7 #if _MSC_VER >= 1400 // VC++ 8.0 7 8 #pragma warning( disable : 4996 ) // disable warning about strdup being deprecated. -
third_party/skia/src/core/SkDebug_stdio.cpp
49 49 50 50 void SkDebugf(const char format[], ...) 51 51 { 52 char buffer[kBufferSize + 1];52 // char buffer[kBufferSize + 1]; 53 53 va_list args; 54 54 va_start(args, format); 55 vsnprintf(buffer, kBufferSize, format, args); 55 // vsnprintf(buffer, kBufferSize, format, args); 56 vfprintf(stderr, format, args); 56 57 va_end(args); 57 fprintf(stderr, buffer);58 // fprintf(stderr, buffer); 58 59 } 59 60 60 61 #endif -
third_party/googleurl/src/url_parse.cc
38 38 39 39 #include "base/logging.h" 40 40 #include "googleurl/src/url_parse_internal.h" 41 #include <cstdlib> 41 42 43 42 44 namespace url_parse { 43 45 44 46 namespace {
Note: See TracBrowser
for help on using the repository browser.