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

Side by Side Diff: chrome/browser/chromeos/settings/stub_cros_settings_provider.cc

Issue 11316048: Hide error bubbles after a successful sign-in. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h" 5 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/login/user_manager.h" 9 #include "chrome/browser/chromeos/login/user_manager.h"
10 #include "chrome/browser/chromeos/settings/cros_settings.h" 10 #include "chrome/browser/chromeos/settings/cros_settings.h"
(...skipping 12 matching lines...) Expand all
23 kDeviceOwner, 23 kDeviceOwner,
24 kPolicyMissingMitigationMode, 24 kPolicyMissingMitigationMode,
25 kReleaseChannel, 25 kReleaseChannel,
26 kReportDeviceVersionInfo, 26 kReportDeviceVersionInfo,
27 kReportDeviceActivityTimes, 27 kReportDeviceActivityTimes,
28 kReportDeviceBootMode, 28 kReportDeviceBootMode,
29 kReportDeviceLocation, 29 kReportDeviceLocation,
30 kSettingProxyEverywhere, 30 kSettingProxyEverywhere,
31 kSignedDataRoamingEnabled, 31 kSignedDataRoamingEnabled,
32 kStatsReportingPref, 32 kStatsReportingPref,
33 kSystemTimezonePolicy,
33 // Kiosk mode settings. 34 // Kiosk mode settings.
34 kIdleLogoutTimeout, 35 kIdleLogoutTimeout,
35 kIdleLogoutWarningDuration, 36 kIdleLogoutWarningDuration,
36 kScreenSaverExtensionId, 37 kScreenSaverExtensionId,
37 kScreenSaverTimeout 38 kScreenSaverTimeout
38 }; 39 };
39 40
40 } // namespace 41 } // namespace
41 42
42 StubCrosSettingsProvider::StubCrosSettingsProvider( 43 StubCrosSettingsProvider::StubCrosSettingsProvider(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 81 }
81 82
82 void StubCrosSettingsProvider::SetDefaults() { 83 void StubCrosSettingsProvider::SetDefaults() {
83 values_.SetBoolean(kAccountsPrefAllowGuest, true); 84 values_.SetBoolean(kAccountsPrefAllowGuest, true);
84 values_.SetBoolean(kAccountsPrefAllowNewUser, true); 85 values_.SetBoolean(kAccountsPrefAllowNewUser, true);
85 values_.SetBoolean(kAccountsPrefShowUserNamesOnSignIn, true); 86 values_.SetBoolean(kAccountsPrefShowUserNamesOnSignIn, true);
86 // |kDeviceOwner| will be set to the logged-in user by |UserManager|. 87 // |kDeviceOwner| will be set to the logged-in user by |UserManager|.
87 } 88 }
88 89
89 } // namespace chromeos 90 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698