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

Side by Side Diff: chrome/browser/chromeos/preferences.cc

Issue 2201023002: Change access mode of disk devices when mounting based on config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/common/pref_names.h » ('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/preferences.h" 5 #include "chrome/browser/chromeos/preferences.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/autoclick/autoclick_controller.h" 9 #include "ash/autoclick/autoclick_controller.h"
10 #include "ash/common/accessibility_types.h" 10 #include "ash/common/accessibility_types.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 293 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
294 294
295 // Initially all existing users would see "What's new" for current version 295 // Initially all existing users would see "What's new" for current version
296 // after update. 296 // after update.
297 registry->RegisterStringPref(prefs::kChromeOSReleaseNotesVersion, 297 registry->RegisterStringPref(prefs::kChromeOSReleaseNotesVersion,
298 "0.0.0.0", 298 "0.0.0.0",
299 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 299 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
300 300
301 registry->RegisterBooleanPref(prefs::kExternalStorageDisabled, false); 301 registry->RegisterBooleanPref(prefs::kExternalStorageDisabled, false);
302 302
303 registry->RegisterBooleanPref(prefs::kExternalStorageReadOnly, false);
304
303 registry->RegisterStringPref(prefs::kTermsOfServiceURL, ""); 305 registry->RegisterStringPref(prefs::kTermsOfServiceURL, "");
304 306
305 registry->RegisterBooleanPref(prefs::kTouchHudProjectionEnabled, false); 307 registry->RegisterBooleanPref(prefs::kTouchHudProjectionEnabled, false);
306 308
307 registry->RegisterBooleanPref(prefs::kTouchVirtualKeyboardEnabled, false); 309 registry->RegisterBooleanPref(prefs::kTouchVirtualKeyboardEnabled, false);
308 310
309 input_method::InputMethodSyncer::RegisterProfilePrefs(registry); 311 input_method::InputMethodSyncer::RegisterProfilePrefs(registry);
310 312
311 registry->RegisterBooleanPref( 313 registry->RegisterBooleanPref(
312 prefs::kResolveTimezoneByGeolocation, true, 314 prefs::kResolveTimezoneByGeolocation, true,
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 touch_hud_projection_enabled_.SetValue(enabled); 779 touch_hud_projection_enabled_.SetValue(enabled);
778 } 780 }
779 781
780 void Preferences::ActiveUserChanged(const user_manager::User* active_user) { 782 void Preferences::ActiveUserChanged(const user_manager::User* active_user) {
781 if (active_user != user_) 783 if (active_user != user_)
782 return; 784 return;
783 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); 785 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, "");
784 } 786 }
785 787
786 } // namespace chromeos 788 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698