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

Side by Side Diff: webkit/glue/resource_loader_bridge.cc

Issue 16831010: Move some classes out of webkit/glue/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move UploadDataStreamBuilder to content/browser Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/resource_request_body.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 (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/glue/resource_loader_bridge.h" 5 #include "webkit/glue/resource_loader_bridge.h"
6 6
7 #include "net/http/http_response_headers.h" 7 #include "net/http/http_response_headers.h"
8 #include "webkit/common/appcache/appcache_interfaces.h" 8 #include "webkit/common/appcache/appcache_interfaces.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
11 11
12 ResourceDevToolsInfo::ResourceDevToolsInfo()
13 : http_status_code(0) {
14 }
15
16 ResourceDevToolsInfo::~ResourceDevToolsInfo() {}
17
18 ResourceResponseInfo::ResourceResponseInfo()
19 : content_length(-1),
20 encoded_data_length(-1),
21 appcache_id(appcache::kNoCacheId),
22 was_fetched_via_spdy(false),
23 was_npn_negotiated(false),
24 was_alternate_protocol_available(false),
25 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
26 was_fetched_via_proxy(false) {
27 }
28
29 ResourceResponseInfo::~ResourceResponseInfo() {}
30
31 ResourceLoaderBridge::RequestInfo::RequestInfo() 12 ResourceLoaderBridge::RequestInfo::RequestInfo()
32 : referrer_policy(WebKit::WebReferrerPolicyDefault), 13 : referrer_policy(WebKit::WebReferrerPolicyDefault),
33 load_flags(0), 14 load_flags(0),
34 requestor_pid(0), 15 requestor_pid(0),
35 request_type(ResourceType::MAIN_FRAME), 16 request_type(ResourceType::MAIN_FRAME),
36 priority(net::LOW), 17 priority(net::LOW),
37 request_context(0), 18 request_context(0),
38 appcache_host_id(0), 19 appcache_host_id(0),
39 routing_id(0), 20 routing_id(0),
40 download_to_file(false), 21 download_to_file(false),
41 has_user_gesture(false), 22 has_user_gesture(false),
42 extra_data(NULL) { 23 extra_data(NULL) {
43 } 24 }
44 25
45 ResourceLoaderBridge::RequestInfo::~RequestInfo() {} 26 ResourceLoaderBridge::RequestInfo::~RequestInfo() {}
46 27
47 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} 28 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {}
48 29
49 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} 30 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {}
50 31
51 ResourceLoaderBridge::ResourceLoaderBridge() {} 32 ResourceLoaderBridge::ResourceLoaderBridge() {}
52 33
53 ResourceLoaderBridge::~ResourceLoaderBridge() {} 34 ResourceLoaderBridge::~ResourceLoaderBridge() {}
54 35
55 } // namespace webkit_glue 36 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/resource_request_body.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698