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

Unified Diff: public/web/WebFrame.h

Issue 123133006: Expose a cachePolicy parameter to loadHistoryItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 4bf4afc39949c4483dac2283561d0dba8bec6b3e..171b5ffe89f2f67088689c8dfe13a7e2a0105504 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -31,15 +31,16 @@
#ifndef WebFrame_h
#define WebFrame_h
-#include "../platform/WebCanvas.h"
-#include "../platform/WebFileSystem.h"
-#include "../platform/WebFileSystemType.h"
-#include "../platform/WebMessagePortChannel.h"
-#include "../platform/WebReferrerPolicy.h"
-#include "../platform/WebURL.h"
#include "WebIconURL.h"
#include "WebNode.h"
#include "WebURLLoaderOptions.h"
+#include "public/platform/WebCanvas.h"
+#include "public/platform/WebFileSystem.h"
+#include "public/platform/WebFileSystemType.h"
+#include "public/platform/WebMessagePortChannel.h"
+#include "public/platform/WebReferrerPolicy.h"
+#include "public/platform/WebURL.h"
+#include "public/platform/WebURLRequest.h"
abarth-chromium 2014/01/06 22:34:02 Unfortunately, this will cause some compile failur
davidben 2014/01/06 22:42:50 That's what this is for. :-) https://codereview.c
struct NPObject;
@@ -356,7 +357,9 @@ public:
// Load the given history state, corresponding to a back/forward
// navigation.
- virtual void loadHistoryItem(const WebHistoryItem&) = 0;
+ virtual void loadHistoryItem(
+ const WebHistoryItem&,
+ WebURLRequest::CachePolicy = WebURLRequest::UseProtocolCachePolicy) = 0;
// Loads the given data with specific mime type and optional text
// encoding. For HTML data, baseURL indicates the security origin of
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698