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

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: rebase 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 283c90c67931864aa688e5617862fbece7a67c9a..45a8a860cf1ce7ca402fe7813b21e10f1109396c 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() { }
@@ -306,6 +311,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