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

Side by Side Diff: chrome/browser/signin/signin_util.cc

Issue 2802373002: Add ForceSigninVerifier. (Closed)
Patch Set: rogers' comments Created 3 years, 8 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/signin/signin_util.h ('k') | chrome/browser/signin/signin_util_unittest.cc » ('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 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
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
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_util.h ('k') | chrome/browser/signin/signin_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698