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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 1973603002: arc: Make Play Store item persistance in shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update browser test (adding required switch_) Created 4 years, 7 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/chromeos/arc/arc_support_host.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index be1bb1c410a1e5eb5ba201d11163615104afbc3f..cca625ea953f14156851a4966116465eb1b9845f 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -670,7 +670,10 @@ class PolicyTest : public InProcessBrowserTest {
}
void SetUpInProcessBrowserTestFixture() override {
- base::CommandLine::ForCurrentProcess()->AppendSwitch("noerrdialogs");
+ base::CommandLine* const command_line =
+ base::CommandLine::ForCurrentProcess();
+ command_line->AppendSwitch("noerrdialogs");
+ command_line->AppendSwitch(chromeos::switches::kEnableArc);
pastarmovj 2016/05/17 22:13:05 please document the behavior and the reason why th
khmel 2016/05/17 22:48:35 Done, and moved it to Arc test, where it looks mor
EXPECT_CALL(provider_, IsInitializationComplete(_))
.WillRepeatedly(Return(true));
BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_);
« no previous file with comments | « chrome/browser/chromeos/arc/arc_support_host.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698