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

Unified Diff: content/child/request_info.cc

Issue 207603003: Extract RequestInfo struct from ResourceLoaderBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 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
« no previous file with comments | « content/child/request_info.h ('k') | content/child/resource_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_info.cc
diff --git a/content/child/request_info.cc b/content/child/request_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e75c54a7f8c8c2022bf97714069c2c83a8efa3f6
--- /dev/null
+++ b/content/child/request_info.cc
@@ -0,0 +1,25 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/child/request_info.h"
+
+namespace content {
+
+RequestInfo::RequestInfo()
+ : referrer_policy(blink::WebReferrerPolicyDefault),
+ load_flags(0),
+ requestor_pid(0),
+ request_type(ResourceType::MAIN_FRAME),
+ priority(net::LOW),
+ request_context(0),
+ appcache_host_id(0),
+ routing_id(0),
+ download_to_file(false),
+ has_user_gesture(false),
+ extra_data(NULL) {
+}
+
+RequestInfo::~RequestInfo() {}
+
+} // namespace content
« no previous file with comments | « content/child/request_info.h ('k') | content/child/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698