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

Unified Diff: trunk/src/chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/chrome/browser/ui/webui/options/browser_options_handler.cc
===================================================================
--- trunk/src/chrome/browser/ui/webui/options/browser_options_handler.cc (revision 192508)
+++ trunk/src/chrome/browser/ui/webui/options/browser_options_handler.cc (working copy)
@@ -89,7 +89,6 @@
#if !defined(OS_CHROMEOS)
#include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h"
#include "chrome/browser/ui/webui/options/advanced_options_utils.h"
-#include "chromeos/chromeos_switches.h"
#endif
#if defined(OS_CHROMEOS)
@@ -1419,8 +1418,7 @@
void BrowserOptionsHandler::SetupMetricsReportingSettingVisibility() {
#if defined(GOOGLE_CHROME_BUILD) && defined(OS_CHROMEOS)
// Don't show the reporting setting if we are in the guest mode.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kGuestSession)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession)) {
base::FundamentalValue visible(false);
web_ui()->CallJavascriptFunction(
"BrowserOptions.setMetricsReportingSettingVisibility", visible);

Powered by Google App Engine
This is Rietveld 408576698