Index: chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
diff --git a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
index f3d0fd4cac27f1329c6baf6550f6fa9b5b6bff8b..e1227dabeb056d4098616b6c66f9848a2c49837b 100644 |
--- a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
+++ b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h |
@@ -25,6 +25,11 @@ namespace merge_session_throttling_utils { |
// page load. |
using CompletionCallback = base::Closure; |
+// Policy for when it is valid to attach a MergeSessionNavigationThrottle. |
+// Namely, this will be false for unit tests, where the UserManager is not |
+// initialized. |
+bool ShouldAttachNavigationThrottle(); |
+ |
// Checks if session is already merged. This is safe to call on all threads. |
bool AreAllSessionMergedAlready(); |