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

Side by Side Diff: ios/web/shell/shell_network_delegate.cc

Issue 1284993005: Notify NetworkDelegate when bytes have been received over the network. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty cronet OnRawBytesRead implementation Created 5 years, 4 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
« no previous file with comments | « ios/web/shell/shell_network_delegate.h ('k') | net/base/layered_network_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ios/web/shell/shell_network_delegate.h" 5 #include "ios/web/shell/shell_network_delegate.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace web { 9 namespace web {
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 return net::OK; 42 return net::OK;
43 } 43 }
44 44
45 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, 45 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request,
46 const GURL& new_location) { 46 const GURL& new_location) {
47 } 47 }
48 48
49 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { 49 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) {
50 } 50 }
51 51
52 void ShellNetworkDelegate::OnRawBytesRead(const net::URLRequest& request,
53 int bytes_read) {
54 }
55
56 void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { 52 void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) {
57 } 53 }
58 54
59 void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { 55 void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) {
60 } 56 }
61 57
62 void ShellNetworkDelegate::OnPACScriptError(int line_number, 58 void ShellNetworkDelegate::OnPACScriptError(int line_number,
63 const base::string16& error) { 59 const base::string16& error) {
64 } 60 }
65 61
(...skipping 15 matching lines...) Expand all
81 net::CookieOptions* options) { 77 net::CookieOptions* options) {
82 return true; 78 return true;
83 } 79 }
84 80
85 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, 81 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request,
86 const base::FilePath& path) const { 82 const base::FilePath& path) const {
87 return true; 83 return true;
88 } 84 }
89 85
90 } // namespace web 86 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/shell/shell_network_delegate.h ('k') | net/base/layered_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698