| Index: chrome/browser/extensions/api/declarative/rules_registry_dispatcher.h
|
| diff --git a/chrome/browser/extensions/api/declarative/rules_registry_dispatcher.h b/chrome/browser/extensions/api/declarative/rules_registry_dispatcher.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f21729d6ab4411694c34e99fffa7444af313936
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/api/declarative/rules_registry_dispatcher.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H__
|
| +#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H__
|
| +#pragma once
|
| +
|
| +#include "chrome/browser/extensions/extension_function.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class AddRulesFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl() OVERRIDE;
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.addRules");
|
| +};
|
| +
|
| +class RemoveRulesFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl() OVERRIDE;
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.removeRules");
|
| +};
|
| +
|
| +class GetRulesFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl() OVERRIDE;
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.declarative.getRules");
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_DISPATCHER_H__
|
|
|