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

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

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: chrome/browser/chromeos/proxy_config_service.h
===================================================================
--- chrome/browser/chromeos/proxy_config_service.h (revision 107101)
+++ chrome/browser/chromeos/proxy_config_service.h (working copy)
@@ -1,35 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_H_
-#define CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_H_
-#pragma once
-
-#include "chrome/browser/chromeos/proxy_config_service_impl.h"
-
-namespace chromeos {
-
-// Wrapper class for the RefCountedThreadSafe chromeos::ProxyConfigServiceImpl
-// that forwards net::ProxyConfigService interface to the actual implementation,
-// instantiated in ProfileIOData::CreateProxyConfigService.
-class ProxyConfigService : public net::ProxyConfigService {
- public:
- explicit ProxyConfigService(
- const scoped_refptr<ProxyConfigServiceImpl>& impl);
- virtual ~ProxyConfigService();
-
- // ProxyConfigService methods. Called from IO thread.
- virtual void AddObserver(Observer* observer);
- virtual void RemoveObserver(Observer* observer);
- virtual ConfigAvailability GetLatestProxyConfig(net::ProxyConfig* config);
-
- private:
- scoped_refptr<ProxyConfigServiceImpl> impl_;
-
- DISALLOW_COPY_AND_ASSIGN(ProxyConfigService);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698