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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 19798012: Remove security_origin member from content::Stream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unittests 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 | « content/public/browser/resource_dispatcher_host_delegate.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 "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 #include "content/public/browser/stream_handle.h" 7 #include "content/public/browser/stream_handle.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( 68 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource(
69 const GURL& url, 69 const GURL& url,
70 const std::string& mime_type) { 70 const std::string& mime_type) {
71 return false; 71 return false;
72 } 72 }
73 73
74 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( 74 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
75 content::ResourceContext* resource_context, 75 content::ResourceContext* resource_context,
76 const GURL& url, 76 const GURL& url,
77 const std::string& mime_type, 77 const std::string& mime_type,
78 GURL* security_origin, 78 GURL* origin,
79 std::string* target_id) { 79 std::string* target_id) {
80 return false; 80 return false;
81 } 81 }
82 82
83 void ResourceDispatcherHostDelegate::OnStreamCreated( 83 void ResourceDispatcherHostDelegate::OnStreamCreated(
84 content::ResourceContext* resource_context, 84 content::ResourceContext* resource_context,
85 int render_process_id, 85 int render_process_id,
86 int render_view_id, 86 int render_view_id,
87 const std::string& target_id, 87 const std::string& target_id,
88 scoped_ptr<StreamHandle> stream, 88 scoped_ptr<StreamHandle> stream,
(...skipping 14 matching lines...) Expand all
103 ResourceResponse* response) { 103 ResourceResponse* response) {
104 } 104 }
105 105
106 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 106 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
107 } 107 }
108 108
109 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 109 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
110 } 110 }
111 111
112 } // namespace content 112 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698