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

Unified Diff: proxy_resolver.h

Issue 5205002: AU: Manual proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: missed one fix for review Created 10 years, 1 month 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 | « omaha_request_action_unittest.cc ('k') | proxy_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: proxy_resolver.h
diff --git a/proxy_resolver.h b/proxy_resolver.h
index 5d9064c13fa5e693ec0dd5430b9ef3f87acf76c7..af228d2a5a875f993ae487a7272e1ae2c7b2bdf1 100644
--- a/proxy_resolver.h
+++ b/proxy_resolver.h
@@ -7,8 +7,8 @@
#include <base/logging.h>
+#include <deque>
#include <string>
-#include <vector>
namespace chromeos_update_engine {
@@ -26,7 +26,7 @@ class ProxyResolver {
// socks{4,5}://<host>[:<port>] - SOCKS4/5 proxy
// kNoProxy - no proxy
virtual bool GetProxiesForUrl(const std::string& url,
- std::vector<std::string>* out_proxies) = 0;
+ std::deque<std::string>* out_proxies) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(ProxyResolver);
@@ -35,8 +35,9 @@ class ProxyResolver {
// Always says to not use a proxy
class DirectProxyResolver : public ProxyResolver {
public:
+ DirectProxyResolver() {}
virtual bool GetProxiesForUrl(const std::string& url,
- std::vector<std::string>* out_proxies);
+ std::deque<std::string>* out_proxies);
private:
DISALLOW_COPY_AND_ASSIGN(DirectProxyResolver);
« no previous file with comments | « omaha_request_action_unittest.cc ('k') | proxy_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698