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

Unified Diff: chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc

Issue 2157153003: Call WillStartRequestForTesting in TestRenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge session / remove DCHECK Created 4 years, 5 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/chromeos/login/signin/merge_session_throttling_utils.cc
diff --git a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
index 621ad5a076e633993521e649b99bf474815a92d1..182474e4d2c0a3631a72f1f86e6c2589fb782b6d 100644
--- a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
+++ b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
@@ -63,6 +63,10 @@ base::AtomicRefCount g_all_profiles_restored_ = 0;
} // namespace
+bool ShouldAttachNavigationThrottle() {
+ return user_manager::UserManager::IsInitialized();
+}
+
bool AreAllSessionMergedAlready() {
return !base::AtomicRefCountIsZero(&g_all_profiles_restored_);
}

Powered by Google App Engine
This is Rietveld 408576698