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

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(
182 prefs::kDeviceEcryptfsMigrationStrategy,
183 enterprise_management::DeviceEcryptfsMigrationStrategyProto::UNSET);
bartfab (slow) 2017/06/13 09:56:02 Nit: #include "chrome/browser/chromeos/policy/prot
igorcov 2017/06/16 11:13:04 Done.
181 184
182 SupervisedUserManager::RegisterPrefs(registry); 185 SupervisedUserManager::RegisterPrefs(registry);
183 SessionLengthLimiter::RegisterPrefs(registry); 186 SessionLengthLimiter::RegisterPrefs(registry);
184 BootstrapManager::RegisterPrefs(registry); 187 BootstrapManager::RegisterPrefs(registry);
185 enterprise_user_session_metrics::RegisterPrefs(registry); 188 enterprise_user_session_metrics::RegisterPrefs(registry);
186 } 189 }
187 190
188 // static 191 // static
189 std::unique_ptr<ChromeUserManager> 192 std::unique_ptr<ChromeUserManager>
190 ChromeUserManagerImpl::CreateChromeUserManager() { 193 ChromeUserManagerImpl::CreateChromeUserManager() {
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 break; 1390 break;
1388 default: 1391 default:
1389 NOTREACHED(); 1392 NOTREACHED();
1390 break; 1393 break;
1391 } 1394 }
1392 1395
1393 return user; 1396 return user;
1394 } 1397 }
1395 1398
1396 } // namespace chromeos 1399 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698