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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1858533002: Introduce WebCachePolicy to merge cache policy enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review, minor fixes Created 4 years, 8 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: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 537a6f4e25fd836fef1684e6b4920872a9848b41..e49ca52530ddb94107c00a633c7acee64567b690 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -36,6 +36,7 @@
#include "WebIconURL.h"
#include "WebNode.h"
#include "WebURLLoaderOptions.h"
+#include "public/platform/WebCachePolicy.h"
#include "public/platform/WebCanvas.h"
#include "public/platform/WebMessagePortChannel.h"
#include "public/platform/WebPrivateOwnPtr.h"
@@ -352,7 +353,8 @@ public:
virtual void loadHistoryItem(
const WebHistoryItem&,
WebHistoryLoadType,
- WebURLRequest::CachePolicy = WebURLRequest::UseProtocolCachePolicy) = 0;
+ WebCachePolicy = WebCachePolicy::UseProtocolCachePolicy)
dcheng 2016/04/04 08:17:10 I know your patch doesn't introduce this, but why
clamy 2016/04/04 12:51:05 I think this comes from the changes we made to onl
+ = 0;
// This method is short-hand for calling LoadData, where mime_type is
// "text/html" and text_encoding is "UTF-8".

Powered by Google App Engine
This is Rietveld 408576698