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

Side by Side Diff: chrome/browser/extensions/api/declarative/rules_registry_dispatcher.h

Issue 9192029: Bindings layer for declarative events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Continued Created 8 years, 11 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) 2012 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_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H__
7 #pragma once
8
9 #include "chrome/browser/extensions/extension_function.h"
10
11 namespace extensions {
12
13 class AddRulesFunction : public SyncExtensionFunction {
14 public:
15 virtual bool RunImpl() OVERRIDE;
16 DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.addRules");
17 };
18
19 class RemoveRulesFunction : public SyncExtensionFunction {
20 public:
21 virtual bool RunImpl() OVERRIDE;
22 DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.removeRules");
23 };
24
25 class GetRulesFunction : public SyncExtensionFunction {
26 public:
27 virtual bool RunImpl() OVERRIDE;
28 DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.getRules");
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H __
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698