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

Unified Diff: chrome/browser/ui/search/search_ipc_router_policy_impl.cc

Issue 701973002: Separate checking the user identity and checking if the user is syncing his history in two differen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Answered kmadhusu and dcheng Created 6 years, 1 month 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/ui/search/search_ipc_router_policy_impl.cc
diff --git a/chrome/browser/ui/search/search_ipc_router_policy_impl.cc b/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
index 11d133657dfff9ddc3cfa7fb93e2277e43db09b6..bbab087c52c5dcba32b77bf451d2a4ec86097d0d 100644
--- a/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
+++ b/chrome/browser/ui/search/search_ipc_router_policy_impl.cc
@@ -59,6 +59,10 @@ bool SearchIPCRouterPolicyImpl::ShouldProcessChromeIdentityCheck() {
return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
}
+bool SearchIPCRouterPolicyImpl::ShouldProcessHistorySyncCheck() {
dcheng 2014/11/21 20:50:32 This shouldn't block this patch, but it's a bit st
beaudoin 2014/11/21 21:16:37 Agreed. I'm not familiar with policy stuff though.
+ return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
+}
+
bool SearchIPCRouterPolicyImpl::ShouldSendSetPromoInformation() {
return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
}

Powered by Google App Engine
This is Rietveld 408576698