OLD | NEW |
---|---|
(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__ | |
OLD | NEW |