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

Side by Side Diff: chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc

Issue 2890843002: Policy implementation for encryptfs to ext4 migration strategy (Closed)
Patch Set: Fixed review comments Created 3 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/login/users/chrome_user_manager_impl.h" 5 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <set> 10 #include <set>
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } // namespace 171 } // namespace
172 172
173 // static 173 // static
174 void ChromeUserManagerImpl::RegisterPrefs(PrefRegistrySimple* registry) { 174 void ChromeUserManagerImpl::RegisterPrefs(PrefRegistrySimple* registry) {
175 ChromeUserManager::RegisterPrefs(registry); 175 ChromeUserManager::RegisterPrefs(registry);
176 176
177 registry->RegisterListPref(kDeviceLocalAccounts); 177 registry->RegisterListPref(kDeviceLocalAccounts);
178 registry->RegisterStringPref(kDeviceLocalAccountPendingDataRemoval, 178 registry->RegisterStringPref(kDeviceLocalAccountPendingDataRemoval,
179 std::string()); 179 std::string());
180 registry->RegisterListPref(kReportingUsers); 180 registry->RegisterListPref(kReportingUsers);
181 registry->RegisterIntegerPref(prefs::kDeviceEcryptfsMigrationStrategy, 0);
bartfab (slow) 2017/06/12 12:49:04 Nit: You could use enterprise_management::DeviceEc
igorcov 2017/06/12 16:50:10 Done.
181 182
182 SupervisedUserManager::RegisterPrefs(registry); 183 SupervisedUserManager::RegisterPrefs(registry);
183 SessionLengthLimiter::RegisterPrefs(registry); 184 SessionLengthLimiter::RegisterPrefs(registry);
184 BootstrapManager::RegisterPrefs(registry); 185 BootstrapManager::RegisterPrefs(registry);
185 enterprise_user_session_metrics::RegisterPrefs(registry); 186 enterprise_user_session_metrics::RegisterPrefs(registry);
186 } 187 }
187 188
188 // static 189 // static
189 std::unique_ptr<ChromeUserManager> 190 std::unique_ptr<ChromeUserManager>
190 ChromeUserManagerImpl::CreateChromeUserManager() { 191 ChromeUserManagerImpl::CreateChromeUserManager() {
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 break; 1388 break;
1388 default: 1389 default:
1389 NOTREACHED(); 1390 NOTREACHED();
1390 break; 1391 break;
1391 } 1392 }
1392 1393
1393 return user; 1394 return user;
1394 } 1395 }
1395 1396
1396 } // namespace chromeos 1397 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698