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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc

Issue 1078213004: Remove --check-cloud-print-connector-policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sat Apr 11 02:29:11 PDT 2015 Created 5 years, 8 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/printing/cloud_print/test/cloud_print_policy_browsertest.cc
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc
index eefa0e3f324d7c39404b38b548c18091639b0f10..29e8c25b53975307cc2d3fb4be96dbd2d48b94f0 100644
--- a/chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc
@@ -58,27 +58,4 @@ IN_PROC_BROWSER_TEST_F(CloudPrintPolicyTest, NormalPassedFlag) {
EXPECT_EQ(chrome::RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED, exit_code);
}
-// Disabled due to http://crbug.com/144393.
-IN_PROC_BROWSER_TEST_F(CloudPrintPolicyTest, DISABLED_CloudPrintPolicyFlag) {
- base::CommandLine new_command_line(GetCommandLineForRelaunch());
- new_command_line.AppendSwitch(switches::kCheckCloudPrintConnectorPolicy);
- // This is important for the test as the way the browser process is launched
- // here causes the predictor databases to be initialized multiple times. This
- // is not an issue for production where the process is launched as a service
- // and a Profile is not created. See http://crbug.com/140466 for more details.
- new_command_line.AppendSwitchASCII(
- switches::kSpeculativeResourcePrefetching,
- switches::kSpeculativeResourcePrefetchingDisabled);
-
- base::Process process =
- base::LaunchProcess(new_command_line, base::LaunchOptionsForTest());
- EXPECT_TRUE(process.IsValid());
-
- int exit_code = -100;
- bool exited = process.WaitForExitWithTimeout(TestTimeouts::action_timeout(),
- &exit_code);
- EXPECT_TRUE(exited);
- EXPECT_EQ(content::RESULT_CODE_NORMAL_EXIT, exit_code);
-}
-
} // namespace

Powered by Google App Engine
This is Rietveld 408576698