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/permission_feature.h" | 5 #include "extensions/common/features/permission_feature.h" |
6 | 6 |
7 #include "extensions/common/permissions/permission_set.h" | 7 #include "extensions/common/permissions/permission_set.h" |
8 #include "extensions/common/permissions/permissions_data.h" | 8 #include "extensions/common/permissions/permissions_data.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 PermissionFeature::PermissionFeature() { | 12 PermissionFeature::PermissionFeature() { |
13 } | 13 } |
14 | 14 |
15 PermissionFeature::~PermissionFeature() { | 15 PermissionFeature::~PermissionFeature() { |
(...skipping 27 matching lines...) Expand all Loading... |
43 "value for extension_types."; | 43 "value for extension_types."; |
44 } | 44 } |
45 | 45 |
46 if (!GetContexts()->empty()) | 46 if (!GetContexts()->empty()) |
47 return name() + ": Permission features do not support contexts."; | 47 return name() + ": Permission features do not support contexts."; |
48 | 48 |
49 return std::string(); | 49 return std::string(); |
50 } | 50 } |
51 | 51 |
52 } // namespace extensions | 52 } // namespace extensions |
OLD | NEW |