Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: chrome/browser/sync/util/sync_types.h

Issue 211019: Fix compiling of sync on linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/util/query_helpers.h ('k') | chrome/browser/sync/util/user_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/sync_types.h
===================================================================
--- chrome/browser/sync/util/sync_types.h (revision 26817)
+++ chrome/browser/sync/util/sync_types.h (working copy)
@@ -35,7 +35,7 @@
#else // Mac and Linux
#define PATHSTRING_IS_STD_STRING 1
#define PSTR_CHAR char
-typedef string PathString;
+typedef std::string PathString;
#define PSTR(s) s
inline size_t PathLen(const char* s) {
return strlen(s);
@@ -71,6 +71,6 @@
return PathString(tmp.begin(), tmp.end());
}
-const int kSyncProtocolMaxNameLengthBytes = 255;
+const size_t kSyncProtocolMaxNameLengthBytes = 255;
#endif // CHROME_BROWSER_SYNC_UTIL_SYNC_TYPES_H_
« no previous file with comments | « chrome/browser/sync/util/query_helpers.h ('k') | chrome/browser/sync/util/user_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698