| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/signin/signin_util.h" | 5 #include "chrome/browser/signin/signin_util.h" |
| 6 | 6 |
| 7 #include "chrome/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
| 8 #include "chrome/common/pref_names.h" | 8 #include "chrome/common/pref_names.h" |
| 9 #include "components/prefs/pref_service.h" | 9 #include "components/prefs/pref_service.h" |
| 10 | 10 |
| 11 namespace signin_util { | 11 namespace signin_util { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 32 return false; | 32 return false; |
| 33 } | 33 } |
| 34 return (g_is_force_signin_enabled_cache == ENABLE); | 34 return (g_is_force_signin_enabled_cache == ENABLE); |
| 35 } | 35 } |
| 36 | 36 |
| 37 void SetForceSigninForTesting(bool enable) { | 37 void SetForceSigninForTesting(bool enable) { |
| 38 SetForceSigninPolicy(enable); | 38 SetForceSigninPolicy(enable); |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace signin_util | 41 } // namespace signin_util |
| OLD | NEW |