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

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: 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..b10cf8bd79b74974f3e582d819f4b8183cc35455 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::ShouldProcessSyncHistoryCheck() {
+ 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