| OLD | NEW |
| (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_DECLARATIVE_API_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_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_DECLARATIVE_API_H__ |
| OLD | NEW |