| 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/manifest_feature.h" | 5 #include "chrome/common/extensions/features/manifest_feature.h" |
| 6 | 6 |
| 7 #include "chrome/common/extensions/manifest.h" | 7 #include "extensions/common/manifest.h" |
| 8 | 8 |
| 9 namespace extensions { | 9 namespace extensions { |
| 10 | 10 |
| 11 ManifestFeature::ManifestFeature() { | 11 ManifestFeature::ManifestFeature() { |
| 12 } | 12 } |
| 13 | 13 |
| 14 ManifestFeature::~ManifestFeature() { | 14 ManifestFeature::~ManifestFeature() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 Feature::Availability ManifestFeature::IsAvailableToContext( | 17 Feature::Availability ManifestFeature::IsAvailableToContext( |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 return name() + ": Manifest features must specify at least one " + | 43 return name() + ": Manifest features must specify at least one " + |
| 44 "value for extension_types."; | 44 "value for extension_types."; |
| 45 } | 45 } |
| 46 | 46 |
| 47 if (!GetContexts()->empty()) | 47 if (!GetContexts()->empty()) |
| 48 return name() + ": Manifest features do not support contexts."; | 48 return name() + ": Manifest features do not support contexts."; |
| 49 | 49 |
| 50 return std::string(); | 50 return std::string(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace | 53 } // namespace extensions |
| OLD | NEW |