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

Unified Diff: content/public/common/resource_request.cc

Issue 2976323002: Hook up ProfileIOData's URLRequestContext to a NetworkService. (Closed)
Patch Set: Response to comments Created 3 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
« no previous file with comments | « content/public/common/resource_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_request.cc
diff --git a/content/public/common/resource_request.cc b/content/public/common/resource_request.cc
index f851f82fb10b76872f11959a7f7a431a5608aede..2672e5b2595efeb07acaa01e001b8d5c676fa4bd 100644
--- a/content/public/common/resource_request.cc
+++ b/content/public/common/resource_request.cc
@@ -4,9 +4,13 @@
#include "content/public/common/resource_request.h"
+#include "content/public/common/appcache_info.h"
+
namespace content {
-ResourceRequest::ResourceRequest() {}
+// kAppCacheNoHostId can't be used in the header, because appcache_info.h
+// includes a webkit file with a Status enum, and X11 #defines Status.
+ResourceRequest::ResourceRequest() : appcache_host_id(kAppCacheNoHostId) {}
ResourceRequest::ResourceRequest(const ResourceRequest& request) = default;
ResourceRequest::~ResourceRequest() {}
« no previous file with comments | « content/public/common/resource_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698