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

Unified Diff: chrome/browser/search/instant_service_observer.h

Issue 930853005: [Instant] Default Search Provider change redirects to local NTP in some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: includes Created 5 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
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/search/instant_service_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_service_observer.h
diff --git a/chrome/browser/search/instant_service_observer.h b/chrome/browser/search/instant_service_observer.h
index 68b4c973196b403b5fe73c076628d199eb02f329..d38337d52062e150754796b9f5318d5d545b3cd6 100644
--- a/chrome/browser/search/instant_service_observer.h
+++ b/chrome/browser/search/instant_service_observer.h
@@ -20,8 +20,11 @@ class InstantServiceObserver {
virtual void MostVisitedItemsChanged(
const std::vector<InstantMostVisitedItem>&);
- // Indicates that the default search provider changed.
- virtual void DefaultSearchProviderChanged();
+ // Indicates that the default search provider changed. Parameter indicates
+ // whether the Google base URL changed (such as when the user migrates from
+ // one google.<TLD> to another TLD).
+ virtual void DefaultSearchProviderChanged(
+ bool google_base_url_domain_changed);
// Indicates that the omnibox start margin has changed.
virtual void OmniboxStartMarginChanged(int omnibox_start_margin);
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/search/instant_service_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698