| Index: chrome/browser/extensions/api/declarative/declarative_api.h
|
| diff --git a/chrome/browser/extensions/api/declarative/declarative_api.h b/chrome/browser/extensions/api/declarative/declarative_api.h
|
| index 5f7acc0754f84b9b0bc14734eca375474dc6b491..5caf4acb643b23e7c335e055f6989af715c2f4f8 100644
|
| --- a/chrome/browser/extensions/api/declarative/declarative_api.h
|
| +++ b/chrome/browser/extensions/api/declarative/declarative_api.h
|
| @@ -2,8 +2,8 @@
|
| // 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_DECLARATIVE_API_H__
|
| -#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_H__
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_H_
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -31,34 +31,34 @@ class RulesFunction : public AsyncExtensionFunction {
|
| scoped_refptr<RulesRegistry> rules_registry_;
|
| };
|
|
|
| -class AddRulesFunction : public RulesFunction {
|
| +class EventsAddRulesFunction : public RulesFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("events.addRules");
|
|
|
| protected:
|
| - virtual ~AddRulesFunction() {}
|
| + virtual ~EventsAddRulesFunction() {}
|
|
|
| // RulesFunction:
|
| virtual bool RunImplOnCorrectThread() OVERRIDE;
|
| };
|
|
|
| -class RemoveRulesFunction : public RulesFunction {
|
| +class EventsRemoveRulesFunction : public RulesFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("events.removeRules");
|
|
|
| protected:
|
| - virtual ~RemoveRulesFunction() {}
|
| + virtual ~EventsRemoveRulesFunction() {}
|
|
|
| // RulesFunction:
|
| virtual bool RunImplOnCorrectThread() OVERRIDE;
|
| };
|
|
|
| -class GetRulesFunction : public RulesFunction {
|
| +class EventsGetRulesFunction : public RulesFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("events.getRules");
|
|
|
| protected:
|
| - virtual ~GetRulesFunction() {}
|
| + virtual ~EventsGetRulesFunction() {}
|
|
|
| // RulesFunction:
|
| virtual bool RunImplOnCorrectThread() OVERRIDE;
|
| @@ -66,4 +66,4 @@ class GetRulesFunction : public RulesFunction {
|
|
|
| } // namespace extensions
|
|
|
| -#endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_H__
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_H_
|
|
|