summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/syncer_thread.cc
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 00:28:13 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 00:28:13 +0000
commit066629fad83ffbc3c3d67d2c19191d1da36138ef (patch)
tree889cb8be535354b58bb3859b5c8c951f8bb3e79c /chrome/browser/sync/engine/syncer_thread.cc
parent64e0ec0be0663c7f520c6cb9728c055edc916a89 (diff)
downloadchromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.zip
chromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.tar.gz
chromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.tar.bz2
Rename CHROME_PERSONALIZATION to BROWSER_SYNC.
Avoid #ifdef in general, favoring #if defined(). In one spot, use PlatformThread::Sleep instead of rolling our own. Review URL: http://codereview.chromium.org/267125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine/syncer_thread.cc')
-rw-r--r--chrome/browser/sync/engine/syncer_thread.cc4
1 files changed, 2 insertions, 2 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);