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

Unified Diff: chrome/browser/ui/webui/settings/content_settings_handler.h

Issue 1372053002: Flesh out the location-page class to make it more general. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 5 years, 2 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/ui/webui/settings/content_settings_handler.h
diff --git a/chrome/browser/ui/webui/settings/content_settings_handler.h b/chrome/browser/ui/webui/settings/content_settings_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..69b1adc810c3f015bfbe25e4ccf5cd8f9434c46f
--- /dev/null
+++ b/chrome/browser/ui/webui/settings/content_settings_handler.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
Dan Beam 2015/10/10 01:27:41 no (c)
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_
+#define CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_
+
+#include <vector>
Dan Beam 2015/10/10 01:27:41 why?
+
Dan Beam 2015/10/10 01:27:41 #include "base/macros.h"
+#include "chrome/browser/ui/webui/settings/md_settings_ui.h"
+
+namespace base {
+class Value;
+}
+
+namespace settings {
+
+// Chrome "ContentSettings" settings page UI handler.
+class ContentSettingsHandler : public SettingsPageUIHandler {
+ public:
+ ContentSettingsHandler();
+ ~ContentSettingsHandler() override;
+
+ // SettingsPageUIHandler implementation.
+ void RegisterMessages() override;
+
+ private:
+ void HandleFetchData(const base::ListValue* args);
+
+ DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler);
+};
+
+} // namespace settings
+
+#endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698