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

Unified Diff: chrome/browser/dom_ui/core_options_handler.h

Issue 2835009: Split options page code/html into its own set of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/core_options_handler.h
===================================================================
--- chrome/browser/dom_ui/core_options_handler.h (revision 51178)
+++ chrome/browser/dom_ui/core_options_handler.h (working copy)
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_DOM_UI_CORE_OPTIONS_HANDLER_H_
#define CHROME_BROWSER_DOM_UI_CORE_OPTIONS_HANDLER_H_
+#include <map>
+#include <string>
+
#include "base/values.h"
#include "chrome/browser/dom_ui/options_ui.h"
@@ -13,6 +16,7 @@
class CoreOptionsHandler : public OptionsPageUIHandler {
public:
CoreOptionsHandler();
+ virtual ~CoreOptionsHandler();
// OptionsUIHandler implementation.
virtual void GetLocalizedValues(DictionaryValue* localized_strings);
@@ -26,6 +30,7 @@
virtual void RegisterMessages();
private:
+ typedef std::multimap<std::wstring, std::wstring> PreferenceCallbackMap;
// Callback for the "fetchPrefs" message. This message accepts the list of
// preference names passed as |value| parameter (ListValue). It passes results
// dictionary of preference values by calling prefsFetched() JS method on the
@@ -47,6 +52,7 @@
void NotifyPrefChanged(const std::wstring* pref_name);
+ PreferenceCallbackMap pref_callback_map_;
DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler);
};
« no previous file with comments | « chrome/browser/chromeos/dom_ui/system_options_handler.cc ('k') | chrome/browser/dom_ui/core_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698