summaryrefslogtreecommitdiffstats
path: root/chrome/test/live_sync
diff options
context:
space:
mode:
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);