| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MANIFEST_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_H_ |
| 6 #define EXTENSIONS_COMMON_MANIFEST_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 14 #include "base/values.h" | 15 #include "base/values.h" |
| 15 | 16 |
| 16 namespace extensions { | 17 namespace extensions { |
| 17 struct InstallWarning; | 18 struct InstallWarning; |
| 18 | 19 |
| 19 // Wraps the DictionaryValue form of extension's manifest. Enforces access to | 20 // Wraps the DictionaryValue form of extension's manifest. Enforces access to |
| 20 // properties of the manifest using ManifestFeatureProvider. | 21 // properties of the manifest using ManifestFeatureProvider. |
| 21 class Manifest { | 22 class Manifest { |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 scoped_ptr<base::DictionaryValue> value_; | 194 scoped_ptr<base::DictionaryValue> value_; |
| 194 | 195 |
| 195 Type type_; | 196 Type type_; |
| 196 | 197 |
| 197 DISALLOW_COPY_AND_ASSIGN(Manifest); | 198 DISALLOW_COPY_AND_ASSIGN(Manifest); |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 } // namespace extensions | 201 } // namespace extensions |
| 201 | 202 |
| 202 #endif // EXTENSIONS_COMMON_MANIFEST_H_ | 203 #endif // EXTENSIONS_COMMON_MANIFEST_H_ |
| OLD | NEW |