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

Side by Side Diff: content/shell/browser/shell_network_delegate.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/shell/browser/shell_mac.mm ('k') | content/shell/browser/shell_network_delegate.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "net/base/network_delegate.h" 10 #include "net/base/network_delegate.h"
(...skipping 24 matching lines...) Expand all
35 scoped_refptr<net::HttpResponseHeaders>* 35 scoped_refptr<net::HttpResponseHeaders>*
36 override_response_headers) OVERRIDE; 36 override_response_headers) OVERRIDE;
37 virtual void OnBeforeRedirect(net::URLRequest* request, 37 virtual void OnBeforeRedirect(net::URLRequest* request,
38 const GURL& new_location) OVERRIDE; 38 const GURL& new_location) OVERRIDE;
39 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 39 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
40 virtual void OnRawBytesRead(const net::URLRequest& request, 40 virtual void OnRawBytesRead(const net::URLRequest& request,
41 int bytes_read) OVERRIDE; 41 int bytes_read) OVERRIDE;
42 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; 42 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE;
43 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; 43 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE;
44 virtual void OnPACScriptError(int line_number, 44 virtual void OnPACScriptError(int line_number,
45 const string16& error) OVERRIDE; 45 const base::string16& error) OVERRIDE;
46 virtual AuthRequiredResponse OnAuthRequired( 46 virtual AuthRequiredResponse OnAuthRequired(
47 net::URLRequest* request, 47 net::URLRequest* request,
48 const net::AuthChallengeInfo& auth_info, 48 const net::AuthChallengeInfo& auth_info,
49 const AuthCallback& callback, 49 const AuthCallback& callback,
50 net::AuthCredentials* credentials) OVERRIDE; 50 net::AuthCredentials* credentials) OVERRIDE;
51 virtual bool OnCanGetCookies(const net::URLRequest& request, 51 virtual bool OnCanGetCookies(const net::URLRequest& request,
52 const net::CookieList& cookie_list) OVERRIDE; 52 const net::CookieList& cookie_list) OVERRIDE;
53 virtual bool OnCanSetCookie(const net::URLRequest& request, 53 virtual bool OnCanSetCookie(const net::URLRequest& request,
54 const std::string& cookie_line, 54 const std::string& cookie_line,
55 net::CookieOptions* options) OVERRIDE; 55 net::CookieOptions* options) OVERRIDE;
56 virtual bool OnCanAccessFile(const net::URLRequest& request, 56 virtual bool OnCanAccessFile(const net::URLRequest& request,
57 const base::FilePath& path) const OVERRIDE; 57 const base::FilePath& path) const OVERRIDE;
58 virtual bool OnCanThrottleRequest( 58 virtual bool OnCanThrottleRequest(
59 const net::URLRequest& request) const OVERRIDE; 59 const net::URLRequest& request) const OVERRIDE;
60 virtual int OnBeforeSocketStreamConnect( 60 virtual int OnBeforeSocketStreamConnect(
61 net::SocketStream* stream, 61 net::SocketStream* stream,
62 const net::CompletionCallback& callback) OVERRIDE; 62 const net::CompletionCallback& callback) OVERRIDE;
63 virtual void OnRequestWaitStateChange(const net::URLRequest& request, 63 virtual void OnRequestWaitStateChange(const net::URLRequest& request,
64 RequestWaitState state) OVERRIDE; 64 RequestWaitState state) OVERRIDE;
65 65
66 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); 66 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
67 }; 67 };
68 68
69 } // namespace content 69 } // namespace content
70 70
71 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 71 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_mac.mm ('k') | content/shell/browser/shell_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698