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

Side by Side Diff: android_webview/browser/net/aw_network_delegate.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « android_webview/browser/net/aw_network_delegate.h ('k') | base/android/path_utils.h » ('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 (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 "android_webview/browser/net/aw_network_delegate.h" 5 #include "android_webview/browser/net/aw_network_delegate.h"
6 6
7 #include "android_webview/browser/aw_cookie_access_policy.h" 7 #include "android_webview/browser/aw_cookie_access_policy.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 bool AwNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, 81 bool AwNetworkDelegate::OnCanSetCookie(const net::URLRequest& request,
82 const std::string& cookie_line, 82 const std::string& cookie_line,
83 net::CookieOptions* options) { 83 net::CookieOptions* options) {
84 return AwCookieAccessPolicy::GetInstance()->OnCanSetCookie(request, 84 return AwCookieAccessPolicy::GetInstance()->OnCanSetCookie(request,
85 cookie_line, 85 cookie_line,
86 options); 86 options);
87 } 87 }
88 88
89 bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, 89 bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request,
90 const FilePath& path) const { 90 const base::FilePath& path) const {
91 return true; 91 return true;
92 } 92 }
93 93
94 bool AwNetworkDelegate::OnCanThrottleRequest( 94 bool AwNetworkDelegate::OnCanThrottleRequest(
95 const net::URLRequest& request) const { 95 const net::URLRequest& request) const {
96 return false; 96 return false;
97 } 97 }
98 98
99 int AwNetworkDelegate::OnBeforeSocketStreamConnect( 99 int AwNetworkDelegate::OnBeforeSocketStreamConnect(
100 net::SocketStream* stream, 100 net::SocketStream* stream,
101 const net::CompletionCallback& callback) { 101 const net::CompletionCallback& callback) {
102 return net::OK; 102 return net::OK;
103 } 103 }
104 104
105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, 105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request,
106 RequestWaitState state) { 106 RequestWaitState state) {
107 } 107 }
108 108
109 } // namespace android_webview 109 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_network_delegate.h ('k') | base/android/path_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698