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

Unified Diff: chrome/browser/sync/util/query_helpers.cc

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/util/query_helpers.h ('k') | chrome/browser/sync/util/query_helpers_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/query_helpers.cc
===================================================================
--- chrome/browser/sync/util/query_helpers.cc (revision 26149)
+++ chrome/browser/sync/util/query_helpers.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/sync/util/query_helpers.h"
-#if defined(OS_WINDOWS)
+#if defined(OS_WIN)
#include <windows.h>
#endif
@@ -65,7 +65,7 @@
(filename.c_str(), db);
LOG_IF(ERROR, SQLITE_OK != result) << "Error opening " << filename << ": "
<< result;
-#ifdef OS_WINDOWS
+#ifdef OS_WIN
if (SQLITE_OK == result) {
// Make sure we mark the db file as not indexed so since if any other app
// opens it, it can break our db locking.
@@ -76,7 +76,7 @@
attrs = attrs | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
SetFileAttributes(filename.c_str(), attrs);
}
-#endif // OS_WINDOWS
+#endif // OS_WIN
// Be patient as we set pragmas.
sqlite3_busy_timeout(*db, numeric_limits<int>::max());
#ifndef DISABLE_SQLITE_FULL_FSYNC
« no previous file with comments | « chrome/browser/sync/util/query_helpers.h ('k') | chrome/browser/sync/util/query_helpers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698