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

Side by Side Diff: content/child/request_info.cc

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/request_info.h ('k') | content/child/resource_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/request_info.h" 5 #include "content/child/request_info.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 RequestInfo::RequestInfo() 9 RequestInfo::RequestInfo()
10 : referrer_policy(blink::WebReferrerPolicyDefault), 10 : referrer_policy(blink::WebReferrerPolicyDefault),
11 load_flags(0), 11 load_flags(0),
12 requestor_pid(0), 12 requestor_pid(0),
13 request_type(ResourceType::MAIN_FRAME), 13 request_type(RESOURCE_TYPE_MAIN_FRAME),
14 priority(net::LOW), 14 priority(net::LOW),
15 request_context(0), 15 request_context(0),
16 appcache_host_id(0), 16 appcache_host_id(0),
17 routing_id(0), 17 routing_id(0),
18 download_to_file(false), 18 download_to_file(false),
19 has_user_gesture(false), 19 has_user_gesture(false),
20 extra_data(NULL) { 20 extra_data(NULL) {
21 } 21 }
22 22
23 RequestInfo::~RequestInfo() {} 23 RequestInfo::~RequestInfo() {}
24 24
25 } // namespace content 25 } // namespace content
OLDNEW
« 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