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

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

Issue 2711033002: Fix Arc integration test. (Closed)
Patch Set: Rebase Created 3 years, 10 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/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index f40d1f98fd44fbfb4f595c9aa98392743c0720e2..782c4f5010ac05d20d64c01e9dfd98c4f0563e2e 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -90,6 +90,7 @@
#if defined(OS_CHROMEOS)
#include "chromeos/chromeos_switches.h"
+#include "components/arc/arc_util.h"
#endif
using browser_sync::ProfileSyncService;
@@ -298,6 +299,7 @@ void SyncTest::SetUpCommandLine(base::CommandLine* cl) {
#if defined(OS_CHROMEOS)
cl->AppendSwitch(chromeos::switches::kIgnoreUserProfileMappingForTests);
+ arc::SetArcAvailableCommandLineForTesting(cl);
hidehiko 2017/02/24 18:22:26 Could you define the flag in each test? As ARC doe
lgcheng 2017/02/25 01:40:38 Done.
#endif
}

Powered by Google App Engine
This is Rietveld 408576698