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 #include "extensions/common/permissions/manifest_permission_set.h" | 5 #include "extensions/common/permissions/manifest_permission_set.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
9 #include "base/values.h" | 11 #include "base/values.h" |
10 #include "extensions/common/error_utils.h" | 12 #include "extensions/common/error_utils.h" |
11 #include "extensions/common/manifest_constants.h" | 13 #include "extensions/common/manifest_constants.h" |
12 #include "extensions/common/manifest_handler.h" | 14 #include "extensions/common/manifest_handler.h" |
13 #include "extensions/common/permissions/manifest_permission.h" | 15 #include "extensions/common/permissions/manifest_permission.h" |
14 | 16 |
15 namespace { | 17 namespace { |
16 | 18 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 86 |
85 if (!CreateManifestPermission(permission_name, permission_value, | 87 if (!CreateManifestPermission(permission_name, permission_value, |
86 manifest_permissions, error, | 88 manifest_permissions, error, |
87 unhandled_permissions)) | 89 unhandled_permissions)) |
88 return false; | 90 return false; |
89 } | 91 } |
90 return true; | 92 return true; |
91 } | 93 } |
92 | 94 |
93 } // namespace extensions | 95 } // namespace extensions |
OLD | NEW |