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

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

Issue 10824112: Move Chrome OS device settings stuff to chrome/browser/chromeos/settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 5 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/system_settings_provider.h
diff --git a/chrome/browser/chromeos/system_settings_provider.h b/chrome/browser/chromeos/system_settings_provider.h
deleted file mode 100644
index 24b304116fa776f94e8826a40f36f87ec1da0260..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/system_settings_provider.h
+++ /dev/null
@@ -1,50 +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_CHROMEOS_SYSTEM_SETTINGS_PROVIDER_H_
-#define CHROME_BROWSER_CHROMEOS_SYSTEM_SETTINGS_PROVIDER_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/chromeos/cros_settings_provider.h"
-#include "chrome/browser/chromeos/system/timezone_settings.h"
-#include "third_party/icu/public/i18n/unicode/timezone.h"
-
-namespace base {
-class Value;
-}
-
-namespace chromeos {
-
-class SystemSettingsProvider : public CrosSettingsProvider,
- public system::TimezoneSettings::Observer {
- public:
- explicit SystemSettingsProvider(const NotifyObserversCallback& notify_cb);
- virtual ~SystemSettingsProvider();
-
- // CrosSettingsProvider implementation.
- virtual const base::Value* Get(const std::string& path) const OVERRIDE;
- virtual TrustedStatus PrepareTrustedValues(
- const base::Closure& callback) OVERRIDE;
- virtual bool HandlesSetting(const std::string& path) const OVERRIDE;
- virtual void Reload() OVERRIDE;
-
- // TimezoneSettings::Observer implementation.
- virtual void TimezoneChanged(const icu::TimeZone& timezone) OVERRIDE;
-
- private:
- // CrosSettingsProvider implementation.
- virtual void DoSet(const std::string& path,
- const base::Value& in_value) OVERRIDE;
-
- scoped_ptr<base::Value> timezone_value_;
-
- DISALLOW_COPY_AND_ASSIGN(SystemSettingsProvider);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_SETTINGS_PROVIDER_H_
« no previous file with comments | « chrome/browser/chromeos/stub_cros_settings_provider_unittest.cc ('k') | chrome/browser/chromeos/system_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698