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

Unified Diff: chrome/browser/google/google_util.h

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: Address review comments, PSO checks for good/bad URLs 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 | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/google/google_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google/google_util.h
===================================================================
--- chrome/browser/google/google_util.h (revision 111916)
+++ chrome/browser/google/google_util.h (working copy)
@@ -38,6 +38,9 @@
// install. Returns false if the information is not available.
bool GetReactivationBrand(std::string* brand);
+// True if |url| represents a valid Google home page URL.
+bool IsGoogleHomePageUrl(const std::string& url);
+
// True if a build is strictly organic, according to its brand code.
bool IsOrganic(const std::string& brand);
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/google/google_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698