Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / api / system_indicator / system_indicator_handler.h
blob19e4e5f37b3a7be4bcc9931421650614e87b003f
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_
8 #include "base/strings/string16.h"
9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h"
12 namespace extensions {
14 // Parses the "system_indicator" manifest key.
15 class SystemIndicatorHandler : public ManifestHandler {
16 public:
17 SystemIndicatorHandler();
18 ~SystemIndicatorHandler() override;
20 bool Parse(Extension* extension, base::string16* error) override;
22 private:
23 const std::vector<std::string> Keys() const override;
25 DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler);
28 } // namespace extensions
30 #endif // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_