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

Unified Diff: content/browser/loader/navigation_url_loader_network_service.h

Issue 2891773002: Add a stub implementation of the URLLoaderFactory for AppCache. (Closed)
Patch Set: Generate a request_id on the same lines as RDHI to prevent DCHECKs in metrics code which validate t… Created 3 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: content/browser/loader/navigation_url_loader_network_service.h
diff --git a/content/browser/loader/navigation_url_loader_network_service.h b/content/browser/loader/navigation_url_loader_network_service.h
index 9e7af001a1c78cc84855ff8a7745d47a1f0c8bfd..b74d63c7cf9c4e46c2e7c3130181b6a5bc8ee5ff 100644
--- a/content/browser/loader/navigation_url_loader_network_service.h
+++ b/content/browser/loader/navigation_url_loader_network_service.h
@@ -68,6 +68,10 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader,
scoped_refptr<ResourceResponse> response_;
SSLStatus ssl_status_;
+ // Request ID for browser initiated requests. We start at -2 on the same lines
+ // ResourceDispatcherHostImpl.
+ int request_id_;
+
DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService);
};

Powered by Google App Engine
This is Rietveld 408576698