OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "chrome/browser/chromeos/cros_settings_provider.h" | 13 #include "chrome/browser/chromeos/cros_settings_provider.h" |
14 #include "chrome/browser/chromeos/login/signed_settings_helper.h" | 14 #include "chrome/browser/chromeos/login/signed_settings_helper.h" |
15 | 15 |
16 class PrefService; | 16 class PrefService; |
17 class Task; | |
18 | 17 |
19 namespace base { | 18 namespace base { |
20 class ListValue; | 19 class ListValue; |
21 } | 20 } |
22 | 21 |
23 namespace chromeos { | 22 namespace chromeos { |
24 | 23 |
25 // CrosSettingsProvider implementation that works with SignedSettings. | 24 // CrosSettingsProvider implementation that works with SignedSettings. |
26 // TODO(nkostylev): Rename this class to indicate that it is | 25 // TODO(nkostylev): Rename this class to indicate that it is |
27 // SignedSettings specific. | 26 // SignedSettings specific. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 private: | 75 private: |
77 // CrosSettingsProvider implementation. | 76 // CrosSettingsProvider implementation. |
78 virtual void DoSet(const std::string& path, base::Value* value) OVERRIDE; | 77 virtual void DoSet(const std::string& path, base::Value* value) OVERRIDE; |
79 | 78 |
80 DISALLOW_COPY_AND_ASSIGN(UserCrosSettingsProvider); | 79 DISALLOW_COPY_AND_ASSIGN(UserCrosSettingsProvider); |
81 }; | 80 }; |
82 | 81 |
83 } // namespace chromeos | 82 } // namespace chromeos |
84 | 83 |
85 #endif // CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ | 84 #endif // CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ |
OLD | NEW |