Index: proxy_resolver.cc |
diff --git a/proxy_resolver.cc b/proxy_resolver.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b3bd933ce2e00926b4995097accaaccdf5ccf1d |
--- /dev/null |
+++ b/proxy_resolver.cc |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "update_engine/proxy_resolver.h" |
+ |
+using std::string; |
+using std::vector; |
+ |
+namespace chromeos_update_engine { |
+ |
+const char kNoProxy[] = "direct://"; |
+ |
+bool DirectProxyResolver::GetProxiesForUrl(const string& url, |
+ vector<string>* out_proxies) { |
+ out_proxies->clear(); |
+ out_proxies->push_back(kNoProxy); |
+ return true; |
+} |
+ |
+} // namespace chromeos_update_engine |