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

Unified Diff: content/public/browser/render_view_host_delegate.h

Issue 9271054: Send replies to sync IPCs from swapped out renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send JS replies to right RVH. Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host_delegate.h
diff --git a/content/public/browser/render_view_host_delegate.h b/content/public/browser/render_view_host_delegate.h
index 2699ea443deb6a601da1f5596efb27f06b622a59..5a7ab880cc3f0b8edd0b8d8af8ec3738aff2dfd3 100644
--- a/content/public/browser/render_view_host_delegate.h
+++ b/content/public/browser/render_view_host_delegate.h
@@ -294,7 +294,7 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener {
const content::GlobalRequestID& old_request_id) {}
// A javascript message, confirmation or prompt should be shown.
- virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
+ virtual void RunJavaScriptMessage(RenderViewHost* rvh,
const string16& message,
const string16& default_prompt,
const GURL& frame_url,
@@ -302,7 +302,7 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener {
IPC::Message* reply_msg,
bool* did_suppress_message) {}
- virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh,
+ virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh,
const string16& message,
IPC::Message* reply_msg) {}
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698