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

Side by Side Diff: chrome/browser/plugin_download_helper.h

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_
6 #define CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ 6 #define CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
(...skipping 17 matching lines...) Expand all
29 29
30 virtual void OnDownloadCompleted(const FilePath& download_path, 30 virtual void OnDownloadCompleted(const FilePath& download_path,
31 bool success) {} 31 bool success) {}
32 }; 32 };
33 33
34 PluginDownloadUrlHelper(const std::string& download_url, 34 PluginDownloadUrlHelper(const std::string& download_url,
35 int source_pid, gfx::NativeWindow caller_window, 35 int source_pid, gfx::NativeWindow caller_window,
36 PluginDownloadUrlHelper::DownloadDelegate* delegate); 36 PluginDownloadUrlHelper::DownloadDelegate* delegate);
37 ~PluginDownloadUrlHelper(); 37 ~PluginDownloadUrlHelper();
38 38
39 void InitiateDownload(URLRequestContext* request_context); 39 void InitiateDownload(net::URLRequestContext* request_context);
40 40
41 // net::URLRequest::Delegate 41 // net::URLRequest::Delegate
42 virtual void OnAuthRequired(net::URLRequest* request, 42 virtual void OnAuthRequired(net::URLRequest* request,
43 net::AuthChallengeInfo* auth_info); 43 net::AuthChallengeInfo* auth_info);
44 virtual void OnSSLCertificateError(net::URLRequest* request, 44 virtual void OnSSLCertificateError(net::URLRequest* request,
45 int cert_error, 45 int cert_error,
46 net::X509Certificate* cert); 46 net::X509Certificate* cert);
47 virtual void OnResponseStarted(net::URLRequest* request); 47 virtual void OnResponseStarted(net::URLRequest* request);
48 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read); 48 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
49 49
(...skipping 21 matching lines...) Expand all
71 PluginDownloadUrlHelper::DownloadDelegate* delegate_; 71 PluginDownloadUrlHelper::DownloadDelegate* delegate_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(PluginDownloadUrlHelper); 73 DISALLOW_COPY_AND_ASSIGN(PluginDownloadUrlHelper);
74 }; 74 };
75 75
76 #endif // OS_WIN 76 #endif // OS_WIN
77 77
78 #endif // CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ 78 #endif // CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_
79 79
80 80
OLDNEW
« no previous file with comments | « chrome/browser/net/websocket_experiment/websocket_experiment_task.cc ('k') | chrome/browser/plugin_download_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698