Andrew de los Reyes | 9cd120d | 2010-11-18 17:50:03 -0800 | [diff] [blame] | 1 | // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "update_engine/proxy_resolver.h" |
| 6 | |
| 7 | using std::string; |
| 8 | using std::vector; |
| 9 | |
| 10 | namespace chromeos_update_engine { |
| 11 | |
| 12 | const char kNoProxy[] = "direct://"; |
| 13 | |
| 14 | bool DirectProxyResolver::GetProxiesForUrl(const string& url, |
| 15 | vector<string>* out_proxies) { |
| 16 | out_proxies->clear(); |
| 17 | out_proxies->push_back(kNoProxy); |
| 18 | return true; |
| 19 | } |
| 20 | |
| 21 | } // namespace chromeos_update_engine |