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

Side by Side Diff: chrome/browser/plugin_process_host.cc

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/plugin_process_host.h" 7 #include "chrome/browser/plugin_process_host.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const GURL& new_url) { 138 const GURL& new_url) {
139 } 139 }
140 140
141 void PluginDownloadUrlHelper::OnAuthRequired( 141 void PluginDownloadUrlHelper::OnAuthRequired(
142 URLRequest* request, 142 URLRequest* request,
143 net::AuthChallengeInfo* auth_info) { 143 net::AuthChallengeInfo* auth_info) {
144 URLRequest::Delegate::OnAuthRequired(request, auth_info); 144 URLRequest::Delegate::OnAuthRequired(request, auth_info);
145 DownloadCompletedHelper(false); 145 DownloadCompletedHelper(false);
146 } 146 }
147 147
148 void PluginDownloadUrlHelper::OnSSLCertificateError(URLRequest* request, 148 void PluginDownloadUrlHelper::OnSSLCertificateError(
149 int cert_error, 149 URLRequest* request,
150 net::X509Certificate* cert) { 150 int cert_error,
151 net::X509Certificate* cert) {
151 URLRequest::Delegate::OnSSLCertificateError(request, cert_error, cert); 152 URLRequest::Delegate::OnSSLCertificateError(request, cert_error, cert);
152 DownloadCompletedHelper(false); 153 DownloadCompletedHelper(false);
153 } 154 }
154 155
155 void PluginDownloadUrlHelper::OnResponseStarted(URLRequest* request) { 156 void PluginDownloadUrlHelper::OnResponseStarted(URLRequest* request) {
156 if (!download_file_->IsOpen()) { 157 if (!download_file_->IsOpen()) {
157 file_util::GetTempDir(&download_file_path_); 158 file_util::GetTempDir(&download_file_path_);
158 159
159 GURL request_url = request->url(); 160 GURL request_url = request->url();
160 #if defined(OS_WIN) 161 #if defined(OS_WIN)
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 } 805 }
805 806
806 void PluginProcessHost::Shutdown() { 807 void PluginProcessHost::Shutdown() {
807 #if defined(OS_WIN) 808 #if defined(OS_WIN)
808 Send(new PluginProcessMsg_BrowserShutdown); 809 Send(new PluginProcessMsg_BrowserShutdown);
809 #else 810 #else
810 // TODO(port): Port plugin_messages_internal.h. 811 // TODO(port): Port plugin_messages_internal.h.
811 NOTIMPLEMENTED(); 812 NOTIMPLEMENTED();
812 #endif 813 #endif
813 } 814 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager.cc ('k') | chrome/browser/printing/print_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698