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

Unified Diff: chrome/browser/signin/signin_util.h

Issue 2712883005: Sign out profile when local_state file has been changed. (Closed)
Patch Set: fixup Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/signin_util.h
diff --git a/chrome/browser/signin/signin_util.h b/chrome/browser/signin/signin_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..315fc63ca11df16322c702d60e6df9bec3f8b474
--- /dev/null
+++ b/chrome/browser/signin/signin_util.h
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SIGNIN_SIGNIN_UTIL_H_
+#define CHROME_BROWSER_SIGNIN_SIGNIN_UTIL_H_
+
+namespace signin_util {
+
+// Return whether the force sign in policy is enabled or not.
+// The state of this policy will not be changed without relaunch Chrome.
+bool IsForceSigninEnabled();
+
+// Enable or disable force sign in for testing.
+void SetForceSigninForTesting(bool enable);
+
+} // namespace signin_util
+
+#endif // CHROME_BROWSER_SIGNIN_SIGNIN_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698