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

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: 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
Index: chrome/browser/google/google_util.h
===================================================================
--- chrome/browser/google/google_util.h (revision 111693)
+++ chrome/browser/google/google_util.h (working copy)
@@ -29,6 +29,9 @@
// check to see if the param already exists.
GURL AppendGoogleTLDParam(const GURL& url);
+// True if |url| represents a valid Google home page URL.
+bool IsGoogleHomePageUrl(const std::string& url);
SteveT 2011/11/28 21:04:49 Nit: Please move down after GetReactivationBrand,
Roger Tawa OOO till Jul 10th 2011/11/29 16:00:09 Done.
+
// Returns in |brand| the brand code or distribution tag that has been
// assigned to a partner. Returns false if the information is not available.
bool GetBrand(std::string* brand);

Powered by Google App Engine
This is Rietveld 408576698