| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/permissions_data.h" | 5 #include "extensions/common/permissions/permissions_data.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/macros.h" |
| 10 #include "content/public/common/url_constants.h" | 11 #include "content/public/common/url_constants.h" |
| 11 #include "extensions/common/constants.h" | 12 #include "extensions/common/constants.h" |
| 12 #include "extensions/common/error_utils.h" | 13 #include "extensions/common/error_utils.h" |
| 13 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
| 14 #include "extensions/common/extensions_client.h" | 15 #include "extensions/common/extensions_client.h" |
| 15 #include "extensions/common/manifest.h" | 16 #include "extensions/common/manifest.h" |
| 16 #include "extensions/common/manifest_constants.h" | 17 #include "extensions/common/manifest_constants.h" |
| 17 #include "extensions/common/manifest_handlers/permissions_parser.h" | 18 #include "extensions/common/manifest_handlers/permissions_parser.h" |
| 18 #include "extensions/common/permissions/api_permission.h" | 19 #include "extensions/common/permissions/api_permission.h" |
| 19 #include "extensions/common/permissions/permission_message_provider.h" | 20 #include "extensions/common/permissions/permission_message_provider.h" |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 manifest_errors::kCannotAccessPageWithUrl, document_url.spec()); | 363 manifest_errors::kCannotAccessPageWithUrl, document_url.spec()); |
| 363 } else { | 364 } else { |
| 364 *error = manifest_errors::kCannotAccessPage; | 365 *error = manifest_errors::kCannotAccessPage; |
| 365 } | 366 } |
| 366 } | 367 } |
| 367 | 368 |
| 368 return ACCESS_DENIED; | 369 return ACCESS_DENIED; |
| 369 } | 370 } |
| 370 | 371 |
| 371 } // namespace extensions | 372 } // namespace extensions |
| OLD | NEW |