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

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: Fix compilation issues. 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 c96e0f3f47aed5576a8dc0accfe49f6e24141edb..8600f8a974b4f5084031ae595c9348a13aafcb46 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -54,6 +54,7 @@ struct SelectedFileInfo;
namespace content {
class ChildProcessSecurityPolicyImpl;
+class PageState;
class PowerSaveBlocker;
class RenderViewHostObserver;
class RenderWidgetHostDelegate;
@@ -479,7 +480,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);
@@ -571,7 +572,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