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

Unified Diff: chrome/browser/chromeos/proxy_config_service.h

Issue 6597070: Allow ProxyConfigService to report "no configuration set" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Eric's comments. Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/proxy_config_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/proxy_config_service.h
diff --git a/chrome/browser/chromeos/proxy_config_service.h b/chrome/browser/chromeos/proxy_config_service.h
index cabf8bf8db288388f66f876a9d332b39f975e5d8..4ede781b3ed46b1abc875d812eb089bac8682e06 100644
--- a/chrome/browser/chromeos/proxy_config_service.h
+++ b/chrome/browser/chromeos/proxy_config_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -12,8 +12,7 @@ namespace chromeos {
// Wrapper class for the RefCountedThreadSafe chromeos::ProxyConfigServiceImpl
// that forwards net::ProxyConfigService interface to the actual implementation,
-// instantiated in
-// chrome/browser/net/chrome_url_request_context.cc::CreateProxyConfigService.
+// instantiated in ProfileIOData::CreateProxyConfigService.
class ProxyConfigService : public net::ProxyConfigService {
public:
explicit ProxyConfigService(const scoped_refptr<ProxyConfigServiceImpl>& impl)
@@ -27,7 +26,7 @@ class ProxyConfigService : public net::ProxyConfigService {
virtual void RemoveObserver(Observer* observer) {
impl_->RemoveObserver(observer);
}
- virtual bool GetLatestProxyConfig(net::ProxyConfig* config) {
+ virtual ConfigAvailability GetLatestProxyConfig(net::ProxyConfig* config) {
return impl_->IOGetProxyConfig(config);
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/proxy_config_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698