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

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host_request_info.cc

Issue 7058041: Remove ResourceDispatcherHost dependency on Chrome's LoginHandler and ExternalProtocolHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/renderer_host/resource_dispatcher_host_request_info.h" 5 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
6 6
7 #include "chrome/browser/ssl/ssl_client_auth_handler.h" 7 #include "chrome/browser/ssl/ssl_client_auth_handler.h"
8 #include "chrome/browser/ui/login/login_prompt.h" 8 #include "content/browser/renderer_host/resource_dispatcher_host_login_delegate. h"
9 #include "content/browser/renderer_host/resource_handler.h" 9 #include "content/browser/renderer_host/resource_handler.h"
10 #include "webkit/blob/blob_data.h" 10 #include "webkit/blob/blob_data.h"
11 11
12 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo( 12 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo(
13 ResourceHandler* handler, 13 ResourceHandler* handler,
14 ChildProcessInfo::ProcessType process_type, 14 ChildProcessInfo::ProcessType process_type,
15 int child_id, 15 int child_id,
16 int route_id, 16 int route_id,
17 int origin_pid, 17 int origin_pid,
18 int request_id, 18 int request_id,
(...skipping 25 matching lines...) Expand all
44 is_paused_(false), 44 is_paused_(false),
45 called_on_response_started_(false), 45 called_on_response_started_(false),
46 has_started_reading_(false), 46 has_started_reading_(false),
47 paused_read_bytes_(0) { 47 paused_read_bytes_(0) {
48 } 48 }
49 49
50 ResourceDispatcherHostRequestInfo::~ResourceDispatcherHostRequestInfo() { 50 ResourceDispatcherHostRequestInfo::~ResourceDispatcherHostRequestInfo() {
51 resource_handler_->OnRequestClosed(); 51 resource_handler_->OnRequestClosed();
52 } 52 }
53 53
54 void ResourceDispatcherHostRequestInfo::set_login_handler(LoginHandler* lh) { 54 void ResourceDispatcherHostRequestInfo::set_login_delegate(
55 login_handler_ = lh; 55 ResourceDispatcherHostLoginDelegate* ld) {
56 login_delegate_ = ld;
56 } 57 }
57 58
58 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( 59 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler(
59 SSLClientAuthHandler* s) { 60 SSLClientAuthHandler* s) {
60 ssl_client_auth_handler_ = s; 61 ssl_client_auth_handler_ = s;
61 } 62 }
62 63
63 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( 64 void ResourceDispatcherHostRequestInfo::set_requested_blob_data(
64 webkit_blob::BlobData* data) { 65 webkit_blob::BlobData* data) {
65 requested_blob_data_ = data; 66 requested_blob_data_ = data;
66 } 67 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_request_info.h ('k') | content/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698