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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index 3563123c15ceb379d90dbf6e3da4763e6646b9c1..c03a6215e33ee1c2dad669b6bc103cb0e88a45d3 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -153,6 +153,11 @@ public:
All
};
+ enum class LoadingIPCType {
+ ChromeIPC,
+ Mojo,
+ };
+
class ExtraData {
public:
virtual ~ExtraData() { }
@@ -320,6 +325,8 @@ public:
// https://mikewest.github.io/cors-rfc1918/#external-request
BLINK_PLATFORM_EXPORT bool isExternalRequest() const;
+ BLINK_PLATFORM_EXPORT LoadingIPCType getLoadingIPCType() const;
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest();
BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const;

Powered by Google App Engine
This is Rietveld 408576698