OLD | NEW |
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/policy/user_policy_signin_service_factory.h" | 5 #include "chrome/browser/policy/user_policy_signin_service_factory.h" |
6 | 6 |
7 #include "chrome/browser/policy/user_policy_signin_service.h" | 7 #include "chrome/browser/policy/user_policy_signin_service.h" |
8 #include "chrome/browser/prefs/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/profiles/profile_dependency_manager.h" | 10 #include "chrome/browser/profiles/profile_dependency_manager.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 return true; | 47 return true; |
48 } | 48 } |
49 | 49 |
50 void UserPolicySigninServiceFactory::RegisterUserPrefs( | 50 void UserPolicySigninServiceFactory::RegisterUserPrefs( |
51 PrefService* user_prefs) { | 51 PrefService* user_prefs) { |
52 user_prefs->RegisterBooleanPref(prefs::kLoadCloudPolicyOnSignin, | 52 user_prefs->RegisterBooleanPref(prefs::kLoadCloudPolicyOnSignin, |
53 false, PrefService::UNSYNCABLE_PREF); | 53 false, PrefService::UNSYNCABLE_PREF); |
54 } | 54 } |
55 | 55 |
56 } // namespace policy | 56 } // namespace policy |
OLD | NEW |