• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_
7 
8 #include "base/strings/string16.h"
9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h"
11 
12 namespace extensions {
13 
14 // Parses the "system_indicator" manifest key.
15 class SystemIndicatorHandler : public ManifestHandler {
16  public:
17   SystemIndicatorHandler();
18   virtual ~SystemIndicatorHandler();
19 
20   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
21 
22  private:
23   virtual const std::vector<std::string> Keys() const OVERRIDE;
24 
25   DISALLOW_COPY_AND_ASSIGN(SystemIndicatorHandler);
26 };
27 
28 }  // namespace extensions
29 
30 #endif  // CHROME_COMMON_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_HANDLER_H_
31