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
{
17 SystemIndicatorHandler();
18 virtual ~SystemIndicatorHandler();
20 virtual bool Parse(Extension
* extension
, base::string16
* error
) OVERRIDE
;
23 virtual 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_