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

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

Issue 303233006: Abstract GoogleURLTracker & google_util Profile dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix and rebase Created 6 years, 7 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/google/google_url_tracker.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
diff --git a/chrome/browser/google/google_util.h b/chrome/browser/google/google_util.h
index 717944c947dcbbe80fd598c0a3024a63244bff85..d116e05b2eab8cfbaa274ecd3d2198dfb0228abc 100644
--- a/chrome/browser/google/google_util.h
+++ b/chrome/browser/google/google_util.h
@@ -12,7 +12,6 @@
#include "base/basictypes.h"
class GURL;
-class Profile;
// This namespace provides various helpers around handling Google-related URLs
// and state relating to Google Chrome distributions (such as RLZ).
@@ -40,11 +39,11 @@ GURL AppendGoogleLocaleParam(const GURL& url);
// 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);
+// Returns the Google country code string for the given Google homepage URL.
+std::string GetGoogleCountryCode(GURL google_homepage_url);
-// Returns the Google search URL for the given profile.
-GURL GetGoogleSearchURL(Profile* profile);
+// Returns the Google search URL for the given Google homepage URL.
+GURL GetGoogleSearchURL(GURL google_homepage_url);
// Returns in |brand| the brand code or distribution tag that has been
// assigned to a partner. Returns false if the information is not available.
« no previous file with comments | « chrome/browser/google/google_url_tracker.cc ('k') | chrome/browser/google/google_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698