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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/proxy_handler.cc

Issue 17010003: Cleanup of system settings constants (ab)use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc ('k') | chromeos/chromeos_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/options/chromeos/proxy_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/proxy_handler.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 l10n_util::GetStringFUTF16( 63 l10n_util::GetStringFUTF16(
64 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT, 64 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_PROXY_ENABLE_SHARED_HINT,
65 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES))); 65 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_USE_SHARED_PROXIES)));
66 } 66 }
67 67
68 void ProxyHandler::InitializePage() { 68 void ProxyHandler::InitializePage() {
69 ::options::OptionsPageUIHandler::InitializePage(); 69 ::options::OptionsPageUIHandler::InitializePage();
70 70
71 bool keyboard_driven_oobe = false; 71 bool keyboard_driven_oobe = false;
72 system::StatisticsProvider::GetInstance()->GetMachineFlag( 72 system::StatisticsProvider::GetInstance()->GetMachineFlag(
73 chromeos::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe); 73 chromeos::system::kOemKeyboardDrivenOobeKey, &keyboard_driven_oobe);
74 if (keyboard_driven_oobe) { 74 if (keyboard_driven_oobe) {
75 web_ui()->CallJavascriptFunction( 75 web_ui()->CallJavascriptFunction(
76 "DetailsInternetPage.initializeKeyboardFlow"); 76 "DetailsInternetPage.initializeKeyboardFlow");
77 } 77 }
78 } 78 }
79 79
80 } // namespace options 80 } // namespace options
81 } // namespace chromeos 81 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc ('k') | chromeos/chromeos_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698