summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/engine')
-rw-r--r--chrome/browser/sync/engine/syncer_thread.cc4
-rw-r--r--chrome/browser/sync/engine/syncer_thread_timed_stop.cc2
-rw-r--r--chrome/browser/sync/engine/syncer_unittest.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/sync/engine/syncer_thread.cc b/chrome/browser/sync/engine/syncer_thread.cc
index 0861940..8d63cd7 100644
--- a/chrome/browser/sync/engine/syncer_thread.cc
+++ b/chrome/browser/sync/engine/syncer_thread.cc
@@ -5,7 +5,7 @@
#include "build/build_config.h"
-#ifdef OS_MACOSX
+#if defined(OS_MACOSX)
#include <CoreFoundation/CFNumber.h>
#include <IOKit/IOTypes.h>
#include <IOKit/IOKitLib.h>
@@ -37,7 +37,7 @@ namespace {
// Returns the amount of time since the user last interacted with the computer,
// in milliseconds
int UserIdleTime() {
-#ifdef OS_WIN
+#if defined(OS_WIN)
LASTINPUTINFO last_input_info;
last_input_info.cbSize = sizeof(LASTINPUTINFO);
diff --git a/chrome/browser/sync/engine/syncer_thread_timed_stop.cc b/chrome/browser/sync/engine/syncer_thread_timed_stop.cc
index 2ae8cd5..4bc9916 100644
--- a/chrome/browser/sync/engine/syncer_thread_timed_stop.cc
+++ b/chrome/browser/sync/engine/syncer_thread_timed_stop.cc
@@ -5,7 +5,7 @@
#include "build/build_config.h"
-#ifdef OS_MACOSX
+#if defined(OS_MACOSX)
#include <CoreFoundation/CFNumber.h>
#include <IOKit/IOTypes.h>
#include <IOKit/IOKitLib.h>
diff --git a/chrome/browser/sync/engine/syncer_unittest.cc b/chrome/browser/sync/engine/syncer_unittest.cc
index 08ae1c1..f37083c 100644
--- a/chrome/browser/sync/engine/syncer_unittest.cc
+++ b/chrome/browser/sync/engine/syncer_unittest.cc
@@ -935,7 +935,7 @@ TEST_F(SyncerTest, UpdateWithZeroLengthName) {
syncer_->SyncShare();
}
-#ifdef OS_WIN
+#if defined(OS_WIN)
TEST_F(SyncerTest, NameSanitizationWithClientRename) {
ScopedDirLookup dir(syncdb_.manager(), syncdb_.name());
ASSERT_TRUE(dir.good());