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

Side by Side Diff: chrome/browser/extensions/extension_content_settings_api.h

Issue 7029031: Content settings extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync & review Created 9 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
7 #pragma once
8
9 #include "chrome/browser/extensions/extension_function.h"
10
11 class ClearContentSettingsFunction : public SyncExtensionFunction {
12 public:
13 virtual bool RunImpl();
14 DECLARE_EXTENSION_FUNCTION_NAME(
15 "experimental.contentSettings.clear")
16 };
17
18 class GetContentSettingFunction : public SyncExtensionFunction {
19 public:
20 virtual bool RunImpl();
21 DECLARE_EXTENSION_FUNCTION_NAME(
22 "experimental.contentSettings.get")
23 };
24
25 class SetContentSettingFunction : public SyncExtensionFunction {
26 public:
27 virtual bool RunImpl();
28 DECLARE_EXTENSION_FUNCTION_NAME(
29 "experimental.contentSettings.set")
30 };
31
32 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698