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

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

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 years, 7 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 d4a6e5db338f447a4a826d6ad72bfe997ab44201..2d5249f6c2d7dc3ac9a9b176f2b9deb2ee3f1b64 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -60,6 +60,7 @@ class MediaPlayerManager;
namespace content {
class ChildProcessSecurityPolicyImpl;
+class PageState;
class PowerSaveBlocker;
class RenderViewHostObserver;
class RenderWidgetHostDelegate;
@@ -481,7 +482,7 @@ class CONTENT_EXPORT RenderViewHostImpl
void OnDidFailProvisionalLoadWithError(
const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params);
void OnNavigate(const IPC::Message& msg);
- void OnUpdateState(int32 page_id, const std::string& state);
+ void OnUpdateState(int32 page_id, const PageState& state);
void OnUpdateTitle(int32 page_id,
const string16& title,
WebKit::WebTextDirection title_direction);
@@ -573,7 +574,7 @@ class CONTENT_EXPORT RenderViewHostImpl
void ClearPowerSaveBlockers();
- bool CanAccessFilesOfSerializedState(const std::string& state) const;
+ bool CanAccessFilesOfPageState(const PageState& state) const;
// Our delegate, which wants to know about changes in the RenderView.
RenderViewHostDelegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698