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

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

Issue 8801006: Make the transfer request code path use full referrers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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/weburlloader_impl.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "webkit/appcache/appcache_interfaces.h" 7 #include "webkit/appcache/appcache_interfaces.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 was_fetched_via_spdy(false), 42 was_fetched_via_spdy(false),
43 was_npn_negotiated(false), 43 was_npn_negotiated(false),
44 was_alternate_protocol_available(false), 44 was_alternate_protocol_available(false),
45 was_fetched_via_proxy(false) { 45 was_fetched_via_proxy(false) {
46 } 46 }
47 47
48 ResourceResponseInfo::~ResourceResponseInfo() { 48 ResourceResponseInfo::~ResourceResponseInfo() {
49 } 49 }
50 50
51 ResourceLoaderBridge::RequestInfo::RequestInfo() 51 ResourceLoaderBridge::RequestInfo::RequestInfo()
52 : load_flags(0), 52 : referrer_policy(WebKit::WebReferrerPolicyDefault),
53 load_flags(0),
53 requestor_pid(0), 54 requestor_pid(0),
54 request_type(ResourceType::MAIN_FRAME), 55 request_type(ResourceType::MAIN_FRAME),
55 request_context(0), 56 request_context(0),
56 appcache_host_id(0), 57 appcache_host_id(0),
57 routing_id(0), 58 routing_id(0),
58 download_to_file(false), 59 download_to_file(false),
59 has_user_gesture(false), 60 has_user_gesture(false),
60 extra_data(NULL) { 61 extra_data(NULL) {
61 } 62 }
62 63
63 ResourceLoaderBridge::RequestInfo::~RequestInfo() { 64 ResourceLoaderBridge::RequestInfo::~RequestInfo() {
64 } 65 }
65 66
66 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() { 67 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {
67 } 68 }
68 69
69 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 70 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
70 } 71 }
71 72
72 ResourceLoaderBridge::ResourceLoaderBridge() { 73 ResourceLoaderBridge::ResourceLoaderBridge() {
73 } 74 }
74 75
75 ResourceLoaderBridge::~ResourceLoaderBridge() { 76 ResourceLoaderBridge::~ResourceLoaderBridge() {
76 } 77 }
77 78
78 } // namespace webkit_glue 79 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698