Index: net/proxy/proxy_info.h |
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h |
index 2ff8136dc307ee4e36842b4ffbf5d46c813354e8..e31a6b7787872714d38a34a59d490f2d2a3dbe27 100644 |
--- a/net/proxy/proxy_info.h |
+++ b/net/proxy/proxy_info.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -82,6 +82,9 @@ class NET_EXPORT ProxyInfo { |
// to call this function. |
const ProxyServer& proxy_server() const { return proxy_list_.Get(); } |
+ // Returns the source for configuration settings used for proxy resolution. |
+ ProxyConfigSource config_source() const { return config_source_; } |
+ |
// See description in ProxyList::ToPacString(). |
std::string ToPacString() const; |
@@ -112,6 +115,9 @@ class NET_EXPORT ProxyInfo { |
// This value identifies the proxy config used to initialize this object. |
ProxyConfig::ID config_id_; |
+ |
+ // The source of the proxy settings used, |
+ ProxyConfigSource config_source_; |
}; |
} // namespace net |