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

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

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
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/core_chromeos_options_handler .h" 5 #include "chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler .h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/prefs/public/pref_change_registrar.h" 10 #include "base/prefs/pref_change_registrar.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/chromeos/login/user_manager.h" 15 #include "chrome/browser/chromeos/login/user_manager.h"
16 #include "chrome/browser/chromeos/proxy_config_service_impl.h" 16 #include "chrome/browser/chromeos/proxy_config_service_impl.h"
17 #include "chrome/browser/chromeos/proxy_cros_settings_parser.h" 17 #include "chrome/browser/chromeos/proxy_cros_settings_parser.h"
18 #include "chrome/browser/chromeos/settings/cros_settings.h" 18 #include "chrome/browser/chromeos/settings/cros_settings.h"
19 #include "chrome/browser/policy/browser_policy_connector.h" 19 #include "chrome/browser/policy/browser_policy_connector.h"
20 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 proxy_cros_settings_parser::GetProxyPrefValue( 241 proxy_cros_settings_parser::GetProxyPrefValue(
242 Profile::FromWebUI(web_ui()), kProxySettings[i], &value); 242 Profile::FromWebUI(web_ui()), kProxySettings[i], &value);
243 DCHECK(value); 243 DCHECK(value);
244 scoped_ptr<base::Value> ptr(value); 244 scoped_ptr<base::Value> ptr(value);
245 DispatchPrefChangeNotification(kProxySettings[i], ptr.Pass()); 245 DispatchPrefChangeNotification(kProxySettings[i], ptr.Pass());
246 } 246 }
247 } 247 }
248 248
249 } // namespace options 249 } // namespace options
250 } // namespace chromeos 250 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698