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

Side by Side Diff: net/proxy/proxy_config.h

Issue 60009: ProxyConfigService for Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « net/net.gyp ('k') | net/proxy/proxy_config.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_PROXY_PROXY_CONFIG_H_ 5 #ifndef NET_PROXY_PROXY_CONFIG_H_
6 #define NET_PROXY_PROXY_CONFIG_H_ 6 #define NET_PROXY_PROXY_CONFIG_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Returns true if the given config is equivalent to this config. 100 // Returns true if the given config is equivalent to this config.
101 bool Equals(const ProxyConfig& other) const; 101 bool Equals(const ProxyConfig& other) const;
102 102
103 private: 103 private:
104 static int last_id_; 104 static int last_id_;
105 int id_; 105 int id_;
106 }; 106 };
107 107
108 } // namespace net 108 } // namespace net
109 109
110 // Dump a human-readable string representation of the configuration to |out|; 110 // Dumps a human-readable string representation of the configuration to |out|;
111 // used when logging the configuration changes. 111 // used when logging the configuration changes.
112 std::ostream& operator<<(std::ostream& out, const net::ProxyConfig& config); 112 std::ostream& operator<<(std::ostream& out, const net::ProxyConfig& config);
113 113
114 // Dumps a human-readable string representation of the |rules| to |out|;
115 // used for logging and for better unittest failure output.
116 std::ostream& operator<<(std::ostream& out,
117 const net::ProxyConfig::ProxyRules& rules);
118
114 #endif // NET_PROXY_PROXY_CONFIG_H_ 119 #endif // NET_PROXY_PROXY_CONFIG_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/proxy/proxy_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698