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

Side by Side Diff: webkit/child/resource_loader_bridge.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/child/resource_loader_bridge.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/child/resource_loader_bridge.h" 5 #include "webkit/child/resource_loader_bridge.h"
6 6
7 #include "net/http/http_response_headers.h"
8 #include "webkit/common/appcache/appcache_interfaces.h"
9 #include "webkit/common/resource_response_info.h"
10
11 namespace webkit_glue { 7 namespace webkit_glue {
12 8
13 ResourceLoaderBridge::RequestInfo::RequestInfo()
14 : referrer_policy(blink::WebReferrerPolicyDefault),
15 load_flags(0),
16 requestor_pid(0),
17 request_type(ResourceType::MAIN_FRAME),
18 priority(net::LOW),
19 request_context(0),
20 appcache_host_id(0),
21 routing_id(0),
22 download_to_file(false),
23 has_user_gesture(false),
24 extra_data(NULL) {
25 }
26
27 ResourceLoaderBridge::RequestInfo::~RequestInfo() {}
28
29 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} 9 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {}
30 10
31 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} 11 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {}
32 12
33 ResourceLoaderBridge::ResourceLoaderBridge() {} 13 ResourceLoaderBridge::ResourceLoaderBridge() {}
34 14
35 ResourceLoaderBridge::~ResourceLoaderBridge() {} 15 ResourceLoaderBridge::~ResourceLoaderBridge() {}
36 16
37 } // namespace webkit_glue 17 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/child/resource_loader_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698