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

Unified Diff: chrome/renderer/worker_permission_client_proxy.cc

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/worker_permission_client_proxy.cc
===================================================================
--- chrome/renderer/worker_permission_client_proxy.cc (revision 241294)
+++ chrome/renderer/worker_permission_client_proxy.cc (working copy)
@@ -4,17 +4,17 @@
#include "chrome/common/render_messages.h"
#include "chrome/renderer/worker_permission_client_proxy.h"
+#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_thread.h"
-#include "content/public/renderer/render_view.h"
#include "ipc/ipc_sync_message_filter.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebFrame.h"
#include "third_party/WebKit/public/web/WebSecurityOrigin.h"
WorkerPermissionClientProxy::WorkerPermissionClientProxy(
- content::RenderView* render_view,
+ content::RenderFrame* render_frame,
blink::WebFrame* frame)
- : routing_id_(render_view->GetRoutingID()),
+ : routing_id_(render_frame->GetRoutingID()),
is_unique_origin_(false) {
if (frame->document().securityOrigin().isUnique() ||
frame->top()->document().securityOrigin().isUnique())
« no previous file with comments | « chrome/renderer/worker_permission_client_proxy.h ('k') | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698