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_FEATURE_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_FEATURE_H_ |
6 #define CHROME_COMMON_EXTENSIONS_FEATURE_H_ | 6 #define CHROME_COMMON_EXTENSIONS_FEATURE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/values.h" | 12 #include "base/values.h" |
14 #include "chrome/common/chrome_version_info.h" | 13 #include "chrome/common/chrome_version_info.h" |
15 #include "chrome/common/extensions/extension.h" | 14 #include "chrome/common/extensions/extension.h" |
16 | 15 |
17 namespace extensions { | 16 namespace extensions { |
18 | 17 |
19 // Represents a single feature accessible to an extension developer, such as a | 18 // Represents a single feature accessible to an extension developer, such as a |
20 // top-level manifest key, a permission, or a programmatic API. A feature can | 19 // top-level manifest key, a permission, or a programmatic API. A feature can |
21 // express requirements for where it can be accessed, and supports testing | 20 // express requirements for where it can be accessed, and supports testing |
22 // support for those requirements. | 21 // support for those requirements. |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 Location location_; // we only care about component/not-component now | 160 Location location_; // we only care about component/not-component now |
162 Platform platform_; // we only care about chromeos/not-chromeos now | 161 Platform platform_; // we only care about chromeos/not-chromeos now |
163 int min_manifest_version_; | 162 int min_manifest_version_; |
164 int max_manifest_version_; | 163 int max_manifest_version_; |
165 chrome::VersionInfo::Channel channel_; | 164 chrome::VersionInfo::Channel channel_; |
166 }; | 165 }; |
167 | 166 |
168 } // namespace extensions | 167 } // namespace extensions |
169 | 168 |
170 #endif // CHROME_COMMON_EXTENSIONS_FEATURE_H_ | 169 #endif // CHROME_COMMON_EXTENSIONS_FEATURE_H_ |
OLD | NEW |