Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/renderer/extensions/extension_resource_request_policy.cc

Issue 6413031: Merge 73784 - Reland r73760: Move most of chrome-extension:// request... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/648/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_resource_request_policy.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698