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

Side by Side Diff: extensions/common/api/declarative/declarative_manifest_handler.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « extensions/browser/warning_service.h ('k') | extensions/common/extension_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_ 5 #ifndef EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_
6 #define EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_ 6 #define EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "extensions/common/manifest_handler.h" 12 #include "extensions/common/manifest_handler.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 class Extension; 15 class Extension;
16 class ManifestPermission;
17 } 16 }
18 17
19 namespace extensions { 18 namespace extensions {
20 19
21 // Parses the "event_rules" manifest key. 20 // Parses the "event_rules" manifest key.
22 class DeclarativeManifestHandler : public ManifestHandler { 21 class DeclarativeManifestHandler : public ManifestHandler {
23 public: 22 public:
24 DeclarativeManifestHandler(); 23 DeclarativeManifestHandler();
25 ~DeclarativeManifestHandler() override; 24 ~DeclarativeManifestHandler() override;
26 25
27 // ManifestHandler overrides. 26 // ManifestHandler overrides.
28 bool Parse(Extension* extension, base::string16* error) override; 27 bool Parse(Extension* extension, base::string16* error) override;
29 28
30 private: 29 private:
31 // ManifestHandler overrides. 30 // ManifestHandler overrides.
32 const std::vector<std::string> Keys() const override; 31 const std::vector<std::string> Keys() const override;
33 32
34 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestHandler); 33 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestHandler);
35 }; 34 };
36 35
37 } // namespace extensions 36 } // namespace extensions
38 37
39 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_ 38 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_
OLDNEW
« no previous file with comments | « extensions/browser/warning_service.h ('k') | extensions/common/extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698