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

Side by Side Diff: extensions/common/api/declarative/declarative_manifest_data.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 5 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
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_DATA_H_ 5 #ifndef EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_DATA_H_
6 #define EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_DATA_H_ 6 #define EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_DATA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h"
10 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
11 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
12 #include "extensions/common/api/events.h" 13 #include "extensions/common/api/events.h"
13 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
14 #include "extensions/common/manifest_handler.h" 15 #include "extensions/common/manifest_handler.h"
15 16
16 namespace extensions { 17 namespace extensions {
17 18
18 // The parsed form of the "event_rules" manifest entry. 19 // The parsed form of the "event_rules" manifest entry.
19 class DeclarativeManifestData : public Extension::ManifestData { 20 class DeclarativeManifestData : public Extension::ManifestData {
(...skipping 16 matching lines...) Expand all
36 const std::string& event); 37 const std::string& event);
37 38
38 private: 39 private:
39 std::map<std::string, std::vector<linked_ptr<Rule>>> event_rules_map_; 40 std::map<std::string, std::vector<linked_ptr<Rule>>> event_rules_map_;
40 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestData); 41 DISALLOW_COPY_AND_ASSIGN(DeclarativeManifestData);
41 }; 42 };
42 43
43 } // namespace extensions 44 } // namespace extensions
44 45
45 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_DATA_H_ 46 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_DECLARATIVE_MANIFEST_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698