| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H
_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H
_ |
| 6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H
_ | 6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H
_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "chrome/common/extensions/extension.h" | 9 #include "chrome/common/extensions/extension.h" |
| 10 #include "extensions/common/manifest_handler.h" | 10 #include "chrome/common/extensions/manifest_handler.h" |
| 11 | 11 |
| 12 namespace extensions { | 12 namespace extensions { |
| 13 | 13 |
| 14 // Parses the "system_indicator" manifest key. | 14 // Parses the "system_indicator" manifest key. |
| 15 class SystemIndicatorHandler : public ManifestHandler { | 15 class SystemIndicatorHandler : public ManifestHandler { |
| 16 public: | 16 public: |
| 17 SystemIndicatorHandler(); | 17 SystemIndicatorHandler(); |
| 18 virtual ~SystemIndicatorHandler(); | 18 virtual ~SystemIndicatorHandler(); |
| 19 | 19 |
| 20 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; | 20 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 virtual const std::vector<std::string> Keys() const OVERRIDE; | 23 virtual const std::vector<std::string> Keys() const OVERRIDE; |
| 24 | 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler); | 25 DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace extensions | 28 } // namespace extensions |
| 29 | 29 |
| 30 #endif // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLE
R_H_ | 30 #endif // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLE
R_H_ |
| OLD | NEW |