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

Side by Side Diff: net/url_request/url_request.h

Issue 1692503002: Functionality to allow blacklist and whitelist of custom schemes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another variable set as const Created 4 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
« net/base/network_delegate.h ('K') | « net/base/network_delegate.cc ('k') | no next file » | 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 #ifndef NET_URL_REQUEST_URL_REQUEST_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_
6 #define NET_URL_REQUEST_URL_REQUEST_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 SSLPrivateKey* client_private_key); 622 SSLPrivateKey* client_private_key);
623 623
624 // This method can be called after some error notifications to instruct this 624 // This method can be called after some error notifications to instruct this
625 // URLRequest to ignore the current error and continue with the request. To 625 // URLRequest to ignore the current error and continue with the request. To
626 // cancel the request instead, call Cancel(). 626 // cancel the request instead, call Cancel().
627 void ContinueDespiteLastError(); 627 void ContinueDespiteLastError();
628 628
629 // Used to specify the context (cookie store, cache) for this request. 629 // Used to specify the context (cookie store, cache) for this request.
630 const URLRequestContext* context() const; 630 const URLRequestContext* context() const;
631 631
632 NetworkDelegate* network_delegate() const { return network_delegate_; }
Thiemo Nagel 2016/03/10 14:37:26 Please return const pointer.
bartfab (slow) 2016/03/10 17:52:09 I think you mean pointer to const :).
633
632 const BoundNetLog& net_log() const { return net_log_; } 634 const BoundNetLog& net_log() const { return net_log_; }
633 635
634 // Returns the expected content size if available 636 // Returns the expected content size if available
635 int64_t GetExpectedContentSize() const; 637 int64_t GetExpectedContentSize() const;
636 638
637 // Returns the priority level for this request. 639 // Returns the priority level for this request.
638 RequestPriority priority() const { return priority_; } 640 RequestPriority priority() const { return priority_; }
639 641
640 // Sets the priority level for this request and any related 642 // Sets the priority level for this request and any related
641 // jobs. Must not change the priority to anything other than 643 // jobs. Must not change the priority to anything other than
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 HostPortPair proxy_server_; 886 HostPortPair proxy_server_;
885 887
886 scoped_ptr<const base::debug::StackTrace> stack_trace_; 888 scoped_ptr<const base::debug::StackTrace> stack_trace_;
887 889
888 DISALLOW_COPY_AND_ASSIGN(URLRequest); 890 DISALLOW_COPY_AND_ASSIGN(URLRequest);
889 }; 891 };
890 892
891 } // namespace net 893 } // namespace net
892 894
893 #endif // NET_URL_REQUEST_URL_REQUEST_H_ 895 #endif // NET_URL_REQUEST_URL_REQUEST_H_
OLDNEW
« net/base/network_delegate.h ('K') | « net/base/network_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698