OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer/extensions/extension_resource_request_policy.h" | 5 #include "chrome/renderer/extensions/extension_resource_request_policy.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/common/url_constants.h" | 8 #include "chrome/common/url_constants.h" |
9 #include "chrome/common/extensions/extension.h" | 9 #include "chrome/common/extensions/extension.h" |
10 #include "chrome/common/extensions/extension_set.h" | 10 #include "chrome/common/extensions/extension_set.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 LOG(ERROR) << "Denying load of " << resource_url.spec() << " from " | 54 LOG(ERROR) << "Denying load of " << resource_url.spec() << " from " |
55 << frame_url.spec() << " because the extension does not have " | 55 << frame_url.spec() << " because the extension does not have " |
56 << "access to the requesting page."; | 56 << "access to the requesting page."; |
57 return false; | 57 return false; |
58 } | 58 } |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 ExtensionResourceRequestPolicy::ExtensionResourceRequestPolicy() { | 62 ExtensionResourceRequestPolicy::ExtensionResourceRequestPolicy() { |
63 } | 63 } |
OLD | NEW |