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

Side by Side Diff: chrome/browser/google/google_profile_helper.h

Issue 303233006: Abstract GoogleURLTracker & google_util Profile dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Provides Google-related information for a given Profile.
Peter Kasting 2014/05/30 20:50:39 I would expand this file comment to say something
6
7 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_PROFILE_HELPER_H__
8 #define CHROME_BROWSER_GOOGLE_GOOGLE_PROFILE_HELPER_H__
9
10 #include <string>
11
12 #include "base/basictypes.h"
13
14 class GURL;
15 class Profile;
16
17 namespace google_profile_helper {
Peter Kasting 2014/05/30 20:50:39 So, how did you end up deciding to put these funct
blundell 2014/06/02 15:42:26 I created the GetGoogleHomePageURL() function sinc
18
19 // Returns the Google country code string for the given profile. This will
20 // return a valid country code even if |profile| is NULL or a testing profile.
21 std::string GetGoogleCountryCode(Profile* profile);
22
23 // Returns the Google search URL for the given profile. This will return a
24 // valid URL even if |profile| is NULL or a testing profile.
25 GURL GetGoogleSearchURL(Profile* profile);
26
27 // Returns the current Google homepage URL. This will return a valid URL even if
28 // |profile| is NULL or a testing profile.
29 GURL GetGoogleHomePageURL(Profile* profile);
30
31 } // namespace google_profile_helper
32
33 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_PROFILE_HELPER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698