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

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

Issue 185003002: Revert 254207 "Switch to using the new Link Doctor API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/chrome/browser/errorpage_browsertest.cc ('k') | trunk/src/chrome/browser/google/google_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/google/google_util.h
===================================================================
--- trunk/src/chrome/browser/google/google_util.h (revision 254240)
+++ trunk/src/chrome/browser/google/google_util.h (working copy)
@@ -29,10 +29,6 @@
GURL LinkDoctorBaseURL();
void SetMockLinkDoctorBaseURLForTesting();
-// Returns the Google locale. This is the same string as
-// AppendGoogleLocaleParam adds to the URL, only without the leading "hl".
-std::string GetGoogleLocale();
-
// Adds the Google locale string to the URL (e.g., hl=en-US). This does not
// check to see if the param already exists.
GURL AppendGoogleLocaleParam(const GURL& url);
@@ -40,12 +36,10 @@
// String version of AppendGoogleLocaleParam.
std::string StringAppendGoogleLocaleParam(const std::string& url);
-// Returns the Google country code string for the given profile.
-std::string GetGoogleCountryCode(Profile* profile);
+// Adds the Google TLD string for the given profile to the URL (e.g., sd=com).
+// This does not check to see if the param already exists.
+GURL AppendGoogleTLDParam(Profile* profile, const GURL& url);
-// Returns the Google search URL for the given profile.
-GURL GetGoogleSearchURL(Profile* profile);
-
// 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);
« no previous file with comments | « trunk/src/chrome/browser/errorpage_browsertest.cc ('k') | trunk/src/chrome/browser/google/google_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698