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

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

Issue 6679040: [cros] Add checkbox for toggling data roaming setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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
Index: chrome/browser/chromeos/user_cros_settings_provider.h
diff --git a/chrome/browser/chromeos/user_cros_settings_provider.h b/chrome/browser/chromeos/user_cros_settings_provider.h
index 7b000ca5b01568b228963945529f19888ba195b5..9735091af71a2f652e9cfb855975861e6bd9d12e 100644
--- a/chrome/browser/chromeos/user_cros_settings_provider.h
+++ b/chrome/browser/chromeos/user_cros_settings_provider.h
@@ -18,6 +18,9 @@ class Task;
namespace chromeos {
+// CrosSettingsProvider implementation that works with SignedSettings.
+// TODO(nkostylev): Rename this class to indicate that it is
+// SignedSettings specific.
class UserCrosSettingsProvider : public CrosSettingsProvider {
public:
UserCrosSettingsProvider();
@@ -33,12 +36,14 @@ class UserCrosSettingsProvider : public CrosSettingsProvider {
// In latter case passed task will be posted when ready.
bool RequestTrustedAllowGuest(Task* callback);
bool RequestTrustedAllowNewUser(Task* callback);
+ bool RequestTrustedDataRoamingEnabled(Task* callback);
bool RequestTrustedShowUsersOnSignin(Task* callback);
bool RequestTrustedOwner(Task* callback);
// Helper functions to access cached settings.
static bool cached_allow_guest();
static bool cached_allow_new_user();
+ static bool cached_data_roaming_enabled();
static bool cached_show_users_on_signin();
static const ListValue* cached_whitelist();
static std::string cached_owner();
« no previous file with comments | « chrome/browser/chromeos/cros_settings_names.cc ('k') | chrome/browser/chromeos/user_cros_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698