Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/common/extensions/api/system_indicator/system_indicator_handler.h

Issue 12618009: Move SystemIndicator parsing out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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/string16.h"
9 #include "chrome/common/extensions/extension.h"
10 #include "chrome/common/extensions/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, 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_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698