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

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: Created 4 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: 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 09b58183fd9e0717ee776f2f549b0cd958e33800..f37fcf28d0c50bfda3b1dfe1d0ee0457a2b3eb03 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -141,6 +141,11 @@ public:
LoFiOn, // Request a Lo-Fi version of the resource.
};
+ enum class LoadingIPC {
+ ChromeIPC,
+ Mojo,
+ };
+
class ExtraData {
public:
virtual ~ExtraData() { }
@@ -308,6 +313,8 @@ public:
// https://mikewest.github.io/cors-rfc1918/#external-request
BLINK_PLATFORM_EXPORT bool isExternalRequest() const;
+ BLINK_PLATFORM_EXPORT LoadingIPC loadingIPC() 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