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

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

Issue 2648213004: Migrate --enable-arc and --arc-available part 1. (Closed)
Patch Set: address comments. Created 3 years, 11 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
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/sync_arc_package_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_arc_package_helper.cc b/chrome/browser/sync/test/integration/sync_arc_package_helper.cc
index 7632bd224ed41c6cf21df0891c68c29da15e8c67..961c78adcf1bcdfae67972e11614ba36854b6424 100644
--- a/chrome/browser/sync/test/integration/sync_arc_package_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_arc_package_helper.cc
@@ -69,8 +69,6 @@ void SyncArcPackageHelper::SetupTest(SyncTest* test) {
user_manager_enabler_ = base::MakeUnique<chromeos::ScopedUserManagerEnabler>(
new chromeos::FakeChromeUserManager());
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- chromeos::switches::kEnableArc);
ArcAppListPrefsFactory::SetFactoryForSyncTest();
size_t id = 0;
for (auto* profile : test_->GetAllProfiles())
@@ -145,8 +143,6 @@ bool SyncArcPackageHelper::AllProfilesHaveSamePackageDetails() {
void SyncArcPackageHelper::SetupArcService(Profile* profile, size_t id) {
DCHECK(profile);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- chromeos::switches::kEnableArc);
const user_manager::User* user = CreateUserAndLogin(profile, id);
// Have the user-to-profile mapping ready to avoid using the real profile
// manager (which is null).
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698