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

Unified Diff: net/proxy/proxy_list.h

Issue 1286373002: Refactored not to expose raw pointers on ProxyList class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | net/proxy/proxy_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_list.h
diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h
index aa477d2083834fd7cf5d1bb3c305c600c5926931..97e0af65ee149f08a1ed50361588d38e2d55d84e 100644
--- a/net/proxy/proxy_list.h
+++ b/net/proxy/proxy_list.h
@@ -78,8 +78,8 @@ class NET_EXPORT_PRIVATE ProxyList {
// For example: "PROXY xxx.xxx.xxx.xxx:xx; SOCKS yyy.yyy.yyy:yy".
std::string ToPacString() const;
- // Returns a serialized value for the list. The caller takes ownership of it.
- base::ListValue* ToValue() const;
+ // Returns a serialized value for the list.
+ scoped_ptr<base::ListValue> ToValue() const;
// Marks the current proxy server as bad and deletes it from the list. The
// list of known bad proxies is given by |proxy_retry_info|. |net_error|
« no previous file with comments | « AUTHORS ('k') | net/proxy/proxy_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698