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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 4 years, 12 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
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 "extensions/common/manifest_handler.h" 12 #include "extensions/common/manifest_handler.h"
12 13
13 namespace extensions { 14 namespace extensions {
14 class Extension; 15 class Extension;
15 class ManifestPermission; 16 class ManifestPermission;
16 } 17 }
17 18
18 namespace extensions { 19 namespace extensions {
19 20
20 // Parses the "event_rules" manifest key. 21 // Parses the "event_rules" manifest key.
21 class DeclarativeManifestHandler : public ManifestHandler { 22 class DeclarativeManifestHandler : public ManifestHandler {
22 public: 23 public:
23 DeclarativeManifestHandler(); 24 DeclarativeManifestHandler();
24 ~DeclarativeManifestHandler() override; 25 ~DeclarativeManifestHandler() override;
25 26
26 // ManifestHandler overrides. 27 // ManifestHandler overrides.
27 bool Parse(Extension* extension, base::string16* error) override; 28 bool Parse(Extension* extension, base::string16* error) override;
28 29
29 private: 30 private:
30 // ManifestHandler overrides. 31 // ManifestHandler overrides.
31 const std::vector<std::string> Keys() const override; 32 const std::vector<std::string> Keys() const override;
32 33
33 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestHandler); 34 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestHandler);
34 }; 35 };
35 36
36 } // namespace extensions 37 } // namespace extensions
37 38
38 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_ 39 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698