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

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

Issue 1258273006: Remove page id from title and state updating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch
Patch Set: comment nit Created 4 years, 2 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_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index f8cce52869a4ddb8860c6bd3541a864376f7e0e2..01871e8eb1a49c3f907e0adf99a5dc262f44df83 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -287,7 +287,7 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
void OnShowWidget(int route_id, const gfx::Rect& initial_rect);
void OnShowFullscreenWidget(int route_id);
void OnRenderProcessGone(int status, int error_code);
- void OnUpdateState(int32_t page_id, const PageState& state);
+ void OnUpdateState(const PageState& state);
void OnUpdateTargetURL(const GURL& url);
void OnClose();
void OnRequestMove(const gfx::Rect& pos);
@@ -359,11 +359,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// See BindingsPolicy for details.
int enabled_bindings_;
- // The most recent page ID we've heard from the renderer process. This is
- // used as context when other session history related IPCs arrive.
- // TODO(creis): Allocate this in WebContents/NavigationController instead.
- int32_t page_id_;
-
// Tracks whether this RenderViewHost is in an active state. False if the
// main frame is pending swap out, pending deletion, or swapped out, because
// it is not visible to the user in any of these cases.
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698