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

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

Issue 495093005: Remove implicit conversions from scoped_refptr to T* in net/url_request/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | net/url_request/url_request.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 (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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 return proxy_server_; 687 return proxy_server_;
688 } 688 }
689 689
690 protected: 690 protected:
691 // Allow the URLRequestJob class to control the is_pending() flag. 691 // Allow the URLRequestJob class to control the is_pending() flag.
692 void set_is_pending(bool value) { is_pending_ = value; } 692 void set_is_pending(bool value) { is_pending_ = value; }
693 693
694 // Allow the URLRequestJob class to set our status too 694 // Allow the URLRequestJob class to set our status too
695 void set_status(const URLRequestStatus& value) { status_ = value; } 695 void set_status(const URLRequestStatus& value) { status_ = value; }
696 696
697 CookieStore* cookie_store() const { return cookie_store_; } 697 CookieStore* cookie_store() const { return cookie_store_.get(); }
698 698
699 // Allow the URLRequestJob to redirect this request. Returns OK if 699 // Allow the URLRequestJob to redirect this request. Returns OK if
700 // successful, otherwise an error code is returned. 700 // successful, otherwise an error code is returned.
701 int Redirect(const RedirectInfo& redirect_info); 701 int Redirect(const RedirectInfo& redirect_info);
702 702
703 // Called by URLRequestJob to allow interception when a redirect occurs. 703 // Called by URLRequestJob to allow interception when a redirect occurs.
704 void NotifyReceivedRedirect(const RedirectInfo& redirect_info, 704 void NotifyReceivedRedirect(const RedirectInfo& redirect_info,
705 bool* defer_redirect); 705 bool* defer_redirect);
706 706
707 // Called by URLRequestHttpJob (note, only HTTP(S) jobs will call this) to 707 // Called by URLRequestHttpJob (note, only HTTP(S) jobs will call this) to
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 890
891 // The proxy server used for this request, if any. 891 // The proxy server used for this request, if any.
892 HostPortPair proxy_server_; 892 HostPortPair proxy_server_;
893 893
894 DISALLOW_COPY_AND_ASSIGN(URLRequest); 894 DISALLOW_COPY_AND_ASSIGN(URLRequest);
895 }; 895 };
896 896
897 } // namespace net 897 } // namespace net
898 898
899 #endif // NET_URL_REQUEST_URL_REQUEST_H_ 899 #endif // NET_URL_REQUEST_URL_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698