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

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

Issue 2776523005: Plumbing devtools agent host id and request id between processes (Closed)
Patch Set: Full plumbing Created 3 years, 9 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 591d09f1fe17fb93415c11f3e2243e4f4772cbc5..348c651d2b55e44ad29b748cada35eeedd291608 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -347,6 +347,17 @@ class WebURLRequest {
// in-between.
BLINK_PLATFORM_EXPORT void setIsSameDocumentNavigation(bool);
+ // The DevTools agent host id associated with the requesting page, if any.
+ BLINK_PLATFORM_EXPORT WebString devToolsAgentHostId() const;
+
+ // The associated DevTools request id, if any.
+ BLINK_PLATFORM_EXPORT WebString devToolsRequestId() const;
+
+ // The lets the content layer provide the internal id for this request, which
+ // is needed to generate consistent DevTools Request Ids from both browser and
+ // renderer.
+ BLINK_PLATFORM_EXPORT void setBrowserGeneratedRequestId(unsigned);
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest();
BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const;

Powered by Google App Engine
This is Rietveld 408576698