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

Side by Side Diff: chrome/browser/ui/webui/options/core_options_handler.h

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/prefs/pref_change_registrar.h"
14 #include "base/prefs/pref_service.h"
15 #include "base/values.h" 13 #include "base/values.h"
16 #include "chrome/browser/plugins/plugin_status_pref_setter.h" 14 #include "chrome/browser/plugins/plugin_status_pref_setter.h"
17 #include "chrome/browser/ui/webui/options/options_ui.h" 15 #include "chrome/browser/ui/webui/options/options_ui.h"
16 #include "components/prefs/pref_change_registrar.h"
17 #include "components/prefs/pref_service.h"
18 18
19 namespace options { 19 namespace options {
20 20
21 // Core options UI handler. 21 // Core options UI handler.
22 // Handles resource and JS calls common to all options sub-pages. 22 // Handles resource and JS calls common to all options sub-pages.
23 class CoreOptionsHandler : public OptionsPageUIHandler { 23 class CoreOptionsHandler : public OptionsPageUIHandler {
24 public: 24 public:
25 CoreOptionsHandler(); 25 CoreOptionsHandler();
26 ~CoreOptionsHandler() override; 26 ~CoreOptionsHandler() override;
27 27
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 typedef std::map<std::string, base::Callback<bool(const base::Value*)> > 181 typedef std::map<std::string, base::Callback<bool(const base::Value*)> >
182 PrefChangeFilterMap; 182 PrefChangeFilterMap;
183 PrefChangeFilterMap pref_change_filters_; 183 PrefChangeFilterMap pref_change_filters_;
184 184
185 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler); 185 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler);
186 }; 186 };
187 187
188 } // namespace options 188 } // namespace options
189 189
190 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 190 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/browser/ui/webui/options/create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698