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

Unified Diff: content/browser/renderer_host/render_widget_helper.h

Issue 15682009: Eliminate SwapOut message parameters, keeping state in RVHM instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to get Android build fix Created 7 years, 6 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
Index: content/browser/renderer_host/render_widget_helper.h
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h
index 917c9533e549ad90aa6538029d5ab8a33ca3a6bb..e6a2961bcd03530fa268aefcb49f6c098b282666 100644
--- a/content/browser/renderer_host/render_widget_helper.h
+++ b/content/browser/renderer_host/render_widget_helper.h
@@ -16,6 +16,7 @@
#include "base/synchronization/waitable_event.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
+#include "content/public/browser/global_request_id.h"
#include "content/public/common/window_container_type.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
#include "ui/gfx/native_widget_types.h"
@@ -125,7 +126,7 @@ class RenderWidgetHelper
// These three functions provide the backend implementation of the
// corresponding functions in RenderProcessHost. See those declarations
// for documentation.
- void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params);
+ void ResumeDeferredNavigation(const GlobalRequestID& request_id);
bool WaitForBackingStoreMsg(int render_widget_id,
const base::TimeDelta& max_delay,
IPC::Message* msg);
@@ -211,9 +212,9 @@ class RenderWidgetHelper
// Called on the UI thread to create a fullscreen widget.
void OnCreateFullscreenWidgetOnUI(int opener_id, int route_id);
- // Called on the IO thread to resume a cross-site response, if the ack is
- // not received as expected.
- void OnSimulateSwapOutACK(const ViewMsg_SwapOut_Params& params);
+ // Called on the IO thread to resume a paused navigation in the network
+ // stack without transferring it to a new renderer process.
+ void OnResumeDeferredNavigation(const GlobalRequestID& request_id);
#if defined(OS_POSIX)
// Called on destruction to release all allocated transport DIBs
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/browser/renderer_host/render_widget_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698