OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_MANIFEST_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_H_ |
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
| 9 #include <set> |
9 #include <string> | 10 #include <string> |
10 #include <set> | |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 | 15 |
16 namespace extensions { | 16 namespace extensions { |
17 struct InstallWarning; | 17 struct InstallWarning; |
18 | 18 |
19 // Wraps the DictionaryValue form of extension's manifest. Enforces access to | 19 // Wraps the DictionaryValue form of extension's manifest. Enforces access to |
20 // properties of the manifest using ManifestFeatureProvider. | 20 // properties of the manifest using ManifestFeatureProvider. |
21 class Manifest { | 21 class Manifest { |
22 public: | 22 public: |
23 // What an extension was loaded from. | 23 // What an extension was loaded from. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 scoped_ptr<base::DictionaryValue> value_; | 168 scoped_ptr<base::DictionaryValue> value_; |
169 | 169 |
170 Type type_; | 170 Type type_; |
171 | 171 |
172 DISALLOW_COPY_AND_ASSIGN(Manifest); | 172 DISALLOW_COPY_AND_ASSIGN(Manifest); |
173 }; | 173 }; |
174 | 174 |
175 } // namespace extensions | 175 } // namespace extensions |
176 | 176 |
177 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_H_ | 177 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_H_ |
OLD | NEW |