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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8728004: Add more flexible handling of what is considered a google home page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix using directive Created 9 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
« no previous file with comments | « no previous file | chrome/browser/google/google_util.h » ('j') | chrome/browser/google/google_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 111693)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1725,8 +1725,7 @@
PrefService* pref_service = profile_->GetPrefs();
if (pref_service) {
std::string homepage = pref_service->GetString(prefs::kHomePage);
- google_search_homepage =
- homepage == GoogleURLTracker::kDefaultGoogleHomepage;
+ google_search_homepage = google_util::IsGoogleHomePageUrl(homepage);
}
RLZTracker::InitRlzDelayed(is_first_run, master_prefs_->ping_delay,
« no previous file with comments | « no previous file | chrome/browser/google/google_util.h » ('j') | chrome/browser/google/google_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698