Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc

Issue 222553003: Disable AppList sync by default on non Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc b/chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc
index b29be1459f5965de4b4a7c99d5564baa250ea732..6b5efd8e5812473a49b9385f1f97a6351bf58a37 100644
--- a/chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_app_list_sync_test.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
-#include "chrome/common/chrome_switches.h"
#include "ui/app_list/app_list_switches.h"
using sync_integration_test_util::AwaitCommitActivityCompletion;
@@ -34,6 +33,11 @@ class SingleClientAppListSyncTest : public SyncTest {
virtual ~SingleClientAppListSyncTest() {}
// SyncTest
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ SyncTest::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(app_list::switches::kEnableSyncAppList);
+ }
+
virtual bool SetupClients() OVERRIDE {
if (!SyncTest::SetupClients())
return false;

Powered by Google App Engine
This is Rietveld 408576698