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

Unified Diff: chrome/browser/sync/engine/syncapi.h

Issue 193103: Build sync engine as part of the browser build (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/engine/net/server_connection_manager.cc ('k') | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncapi.h
===================================================================
--- chrome/browser/sync/engine/syncapi.h (revision 26149)
+++ chrome/browser/sync/engine/syncapi.h (working copy)
@@ -39,8 +39,9 @@
#define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_
#include "base/basictypes.h"
+#include "build/build_config.h"
-#if (defined(OS_WIN) || defined(OS_WINDOWS))
+#if defined(OS_WIN)
typedef wchar_t sync_char16;
#else
typedef uint16 sync_char16;
@@ -48,7 +49,7 @@
// The MSVC compiler for Windows requires that any classes exported by, or
// imported from, a dynamic library be decorated with the following fanciness.
-#if (defined(OS_WIN) || defined(OS_WINDOWS))
+#if defined(OS_WIN)
#if COMPILING_SYNCAPI_LIBRARY
#define SYNC_EXPORT __declspec(dllexport)
#elif COMPILING_SYNCAPI_STUB
@@ -58,7 +59,7 @@
#endif
#else
#define SYNC_EXPORT
-#endif // OS_WIN || OS_WINDOWS
+#endif // OS_WIN
// Forward declarations of internal class types so that sync API objects
// may have opaque pointers to these types.
« no previous file with comments | « chrome/browser/sync/engine/net/server_connection_manager.cc ('k') | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698