summaryrefslogtreecommitdiffstats
path: root/chrome/test/live_sync
diff options
context:
space:
mode:
authortejasshah@google.com <tejasshah@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-19 21:34:08 +0000
committertejasshah@google.com <tejasshah@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-19 21:34:08 +0000
commita00ee3426d335eb1cd5122dabe3c48e108009ad0 (patch)
treeeaa95659acf893bc45c80a105b9e2aed8fd43a42 /chrome/test/live_sync
parent34ffece3f0b1203681c11301dfd220fa2317c1d3 (diff)
downloadchromium_src-a00ee3426d335eb1cd5122dabe3c48e108009ad0.zip
chromium_src-a00ee3426d335eb1cd5122dabe3c48e108009ad0.tar.gz
chromium_src-a00ee3426d335eb1cd5122dabe3c48e108009ad0.tar.bz2
This is the change to add enable sync flag to existing sync test cases so they work. Currently they are broken in buildbot due to this issue.
Review URL: http://codereview.chromium.org/174073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/live_sync')
-rw-r--r--chrome/test/live_sync/live_bookmarks_sync_test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/live_sync/live_bookmarks_sync_test.h b/chrome/test/live_sync/live_bookmarks_sync_test.h
index 368eeb1..c9a00e0 100644
--- a/chrome/test/live_sync/live_bookmarks_sync_test.h
+++ b/chrome/test/live_sync/live_bookmarks_sync_test.h
@@ -49,6 +49,11 @@ class LiveBookmarksSyncTest : public InProcessBrowserTest {
InProcessBrowserTest::SetUp();
}
+ // Append command line flag to enable sync.
+ virtual void SetUpCommandLine(CommandLine* command_line) {
+ command_line->AppendSwitch(switches::kEnableSync);
+ }
+
// Helper to get a handle on a bookmark in |m| when the url is known to be
// unique.
static const BookmarkNode* GetByUniqueURL(BookmarkModel* m, const GURL& url);