summaryrefslogtreecommitdiffstats
path: root/chrome/test/live_sync
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/test/live_sync
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/test/live_sync')
-rw-r--r--chrome/test/live_sync/bookmark_model_verifier.cc4
-rw-r--r--chrome/test/live_sync/bookmark_model_verifier.h4
-rw-r--r--chrome/test/live_sync/live_bookmarks_sync_test.cc4
-rw-r--r--chrome/test/live_sync/live_bookmarks_sync_test.h4
-rw-r--r--chrome/test/live_sync/profile_sync_service_test_harness.cc4
-rw-r--r--chrome/test/live_sync/profile_sync_service_test_harness.h4
-rw-r--r--chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc4
-rw-r--r--chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc4
8 files changed, 16 insertions, 16 deletions
diff --git a/chrome/test/live_sync/bookmark_model_verifier.cc b/chrome/test/live_sync/bookmark_model_verifier.cc
index a827f10..b1d807b 100644
--- a/chrome/test/live_sync/bookmark_model_verifier.cc
+++ b/chrome/test/live_sync/bookmark_model_verifier.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#include "chrome/test/live_sync/bookmark_model_verifier.h"
@@ -244,4 +244,4 @@ const BookmarkNode* BookmarkModelVerifier::SetURL(BookmarkModel* model,
return result;
}
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/bookmark_model_verifier.h b/chrome/test/live_sync/bookmark_model_verifier.h
index 43120af..de6d4c7 100644
--- a/chrome/test/live_sync/bookmark_model_verifier.h
+++ b/chrome/test/live_sync/bookmark_model_verifier.h
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#ifndef CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
#define CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
@@ -113,4 +113,4 @@ class BookmarkModelVerifier {
#endif // CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/live_bookmarks_sync_test.cc b/chrome/test/live_sync/live_bookmarks_sync_test.cc
index 51fc2cd..6189965 100644
--- a/chrome/test/live_sync/live_bookmarks_sync_test.cc
+++ b/chrome/test/live_sync/live_bookmarks_sync_test.cc
@@ -1,7 +1,7 @@
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#include "chrome/test/live_sync/live_bookmarks_sync_test.h"
@@ -96,4 +96,4 @@ void LiveBookmarksSyncTest::TearDownInProcessBrowserTestFixture() {
mock_host_resolver_override_.reset();
}
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/live_bookmarks_sync_test.h b/chrome/test/live_sync/live_bookmarks_sync_test.h
index a21f8bf..f23a117 100644
--- a/chrome/test/live_sync/live_bookmarks_sync_test.h
+++ b/chrome/test/live_sync/live_bookmarks_sync_test.h
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#ifndef CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_
#define CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_
@@ -82,4 +82,4 @@ class LiveBookmarksSyncTest : public InProcessBrowserTest {
#endif // CHROME_TEST_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/profile_sync_service_test_harness.cc b/chrome/test/live_sync/profile_sync_service_test_harness.cc
index 61c8deb..738654d 100644
--- a/chrome/test/live_sync/profile_sync_service_test_harness.cc
+++ b/chrome/test/live_sync/profile_sync_service_test_harness.cc
@@ -1,7 +1,7 @@
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#include "base/message_loop.h"
#include "chrome/browser/browser.h"
@@ -250,4 +250,4 @@ bool ProfileSyncServiceTestHarness::WaitForServiceInit() {
return service_->sync_initialized();
}
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/profile_sync_service_test_harness.h b/chrome/test/live_sync/profile_sync_service_test_harness.h
index 48f40f1..ff51bd1 100644
--- a/chrome/test/live_sync/profile_sync_service_test_harness.h
+++ b/chrome/test/live_sync/profile_sync_service_test_harness.h
@@ -1,7 +1,7 @@
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#ifndef CHROME_TEST_LIVE_SYNC_PROFILE_SYNC_SERVICE_TEST_HARNESS_H_
#define CHROME_TEST_LIVE_SYNC_PROFILE_SYNC_SERVICE_TEST_HARNESS_H_
@@ -108,4 +108,4 @@ class ProfileSyncServiceTestHarness : public ProfileSyncServiceObserver {
#endif // CHROME_TEST_SYNC_PROFILE_SYNC_SERVICE_TEST_HARNESS_H_
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc b/chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc
index ca2263d..8e751cf 100644
--- a/chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc
+++ b/chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#include "base/command_line.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -153,4 +153,4 @@ IN_PROC_BROWSER_TEST_F(SingleClientLiveBookmarksSyncTest, DISABLED_GetUpdates) {
EXPECT_EQ(status.unsynced_count, 0);
}
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)
diff --git a/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc b/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
index 368605a..49abebf 100644
--- a/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
+++ b/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifdef CHROME_PERSONALIZATION
+#if defined(BROWSER_SYNC)
#include <stdlib.h>
@@ -2485,4 +2485,4 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
}
-#endif // CHROME_PERSONALIZATION
+#endif // defined(BROWSER_SYNC)