| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 // Parses the automation manifest entry. | 71 // Parses the automation manifest entry. |
| 72 class AutomationHandler : public ManifestHandler { | 72 class AutomationHandler : public ManifestHandler { |
| 73 public: | 73 public: |
| 74 AutomationHandler(); | 74 AutomationHandler(); |
| 75 virtual ~AutomationHandler(); | 75 virtual ~AutomationHandler(); |
| 76 | 76 |
| 77 private: | 77 private: |
| 78 // ManifestHandler implementation. | 78 // ManifestHandler implementation. |
| 79 virtual bool Parse(Extension* extensions, base::string16* error) OVERRIDE; | 79 virtual bool Parse(Extension* extensions, base::string16* error) override; |
| 80 | 80 |
| 81 virtual ManifestPermission* CreatePermission() OVERRIDE; | 81 virtual ManifestPermission* CreatePermission() override; |
| 82 virtual ManifestPermission* CreateInitialRequiredPermission( | 82 virtual ManifestPermission* CreateInitialRequiredPermission( |
| 83 const Extension* extension) OVERRIDE; | 83 const Extension* extension) override; |
| 84 virtual const std::vector<std::string> Keys() const OVERRIDE; | 84 virtual const std::vector<std::string> Keys() const override; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(AutomationHandler); | 86 DISALLOW_COPY_AND_ASSIGN(AutomationHandler); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace extensions | 89 } // namespace extensions |
| 90 | 90 |
| 91 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ | 91 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_AUTOMATION_H_ |
| OLD | NEW |