| Index: chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.h
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.h
|
| deleted file mode 100644
|
| index 2e4c9eeac45b08a970eb885ffb2a07025d2b2c98..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.h
|
| +++ /dev/null
|
| @@ -1,59 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_CORE_CHROMEOS_OPTIONS_HANDLER2_H_
|
| -#define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_CORE_CHROMEOS_OPTIONS_HANDLER2_H_
|
| -#pragma once
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "base/memory/weak_ptr.h"
|
| -#include "chrome/browser/ui/webui/options2/core_options_handler2.h"
|
| -
|
| -class PrefSetObserver;
|
| -
|
| -namespace chromeos {
|
| -namespace options2 {
|
| -
|
| -// CoreChromeOSOptionsHandler handles ChromeOS settings.
|
| -class CoreChromeOSOptionsHandler : public ::options2::CoreOptionsHandler {
|
| - public:
|
| - CoreChromeOSOptionsHandler();
|
| - virtual ~CoreChromeOSOptionsHandler();
|
| -
|
| - // ::CoreOptionsHandler overrides
|
| - virtual base::Value* FetchPref(const std::string& pref_name) OVERRIDE;
|
| - virtual void InitializeHandler() OVERRIDE;
|
| - virtual void InitializePage() OVERRIDE;
|
| - virtual void ObservePref(const std::string& pref_name) OVERRIDE;
|
| - virtual void SetPref(const std::string& pref_name,
|
| - const base::Value* value,
|
| - const std::string& metric) OVERRIDE;
|
| - virtual void StopObservingPref(const std::string& path) OVERRIDE;
|
| -
|
| - // OptionsPageUIHandler implementation.
|
| - virtual void GetLocalizedValues(
|
| - base::DictionaryValue* localized_strings) OVERRIDE;
|
| -
|
| - // content::NotificationObserver implementation.
|
| - virtual void Observe(int type,
|
| - const content::NotificationSource& source,
|
| - const content::NotificationDetails& details) OVERRIDE;
|
| -
|
| - private:
|
| - // Notifies registered JS callbacks on ChromeOS setting change.
|
| - void NotifySettingsChanged(const std::string* setting_name);
|
| - void NotifyProxyPrefsChanged();
|
| -
|
| - // Keeps the track of change caused by the handler to make sure
|
| - // it does not signal itself again.
|
| - bool handling_change_;
|
| -
|
| - scoped_ptr<PrefSetObserver> proxy_prefs_;
|
| - base::WeakPtrFactory<CoreChromeOSOptionsHandler> pointer_factory_;
|
| -};
|
| -
|
| -} // namespace options2
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_CORE_CHROMEOS_OPTIONS_HANDLER2_H_
|
|
|