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 #include "chrome/common/extensions/features/complex_feature.h" | 5 #include "chrome/common/extensions/features/complex_feature.h" |
6 | 6 |
7 #include "chrome/common/extensions/features/feature_channel.h" | 7 #include "chrome/common/extensions/features/feature_channel.h" |
8 #include "chrome/common/extensions/features/simple_feature.h" | 8 #include "chrome/common/extensions/features/simple_feature.h" |
9 #include "chrome/common/extensions/value_builder.h" | 9 #include "extensions/common/value_builder.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 | 11 |
12 using chrome::VersionInfo; | 12 using chrome::VersionInfo; |
13 using extensions::ComplexFeature; | 13 using extensions::ComplexFeature; |
14 using extensions::DictionaryBuilder; | 14 using extensions::DictionaryBuilder; |
15 using extensions::Feature; | 15 using extensions::Feature; |
16 using extensions::ListBuilder; | 16 using extensions::ListBuilder; |
17 using extensions::Manifest; | 17 using extensions::Manifest; |
18 using extensions::ScopedCurrentChannel; | 18 using extensions::ScopedCurrentChannel; |
19 using extensions::SimpleFeature; | 19 using extensions::SimpleFeature; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 EXPECT_NE(Feature::IS_AVAILABLE, feature->IsAvailableToManifest( | 139 EXPECT_NE(Feature::IS_AVAILABLE, feature->IsAvailableToManifest( |
140 "1", | 140 "1", |
141 Manifest::TYPE_EXTENSION, | 141 Manifest::TYPE_EXTENSION, |
142 Feature::UNSPECIFIED_LOCATION, | 142 Feature::UNSPECIFIED_LOCATION, |
143 Feature::UNSPECIFIED_PLATFORM, | 143 Feature::UNSPECIFIED_PLATFORM, |
144 Feature::GetCurrentPlatform()).result()); | 144 Feature::GetCurrentPlatform()).result()); |
145 } | 145 } |
146 } | 146 } |
147 | 147 |
148 } // namespace | 148 } // namespace |
OLD | NEW |