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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.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/ui/startup/startup_browser_creator.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index c093c188ec1ba1d84e0dab0c6771d08167e3485a..2fbb2483e527146c05600f4ab9ab6e811b25f1e3 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -513,16 +513,6 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
command_line)) {
silent_launch = true;
}
-
- // If we are checking the proxy enabled policy, don't open any windows.
- if (command_line.HasSwitch(switches::kCheckCloudPrintConnectorPolicy)) {
- silent_launch = true;
- if (CloudPrintProxyServiceFactory::GetForProfile(last_used_profile)->
- EnforceCloudPrintConnectorPolicyAndQuit())
- // Success, nothing more needs to be done, so return false to stop
- // launching and quit.
- return false;
- }
#endif // defined(ENABLE_PRINT_PREVIEW)
VLOG(2) << "ProcessCmdLineImpl: PLACE 1";
« no previous file with comments | « chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698