| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Some Google related utility functions. | 5 // Some Google related utility functions. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_GOOGLE_UTIL_H__ | 7 #ifndef CHROME_BROWSER_GOOGLE_UTIL_H__ |
| 8 #define CHROME_BROWSER_GOOGLE_UTIL_H__ | 8 #define CHROME_BROWSER_GOOGLE_UTIL_H__ |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| 11 | 11 |
| 12 namespace google_util { | 12 namespace google_util { |
| 13 | 13 |
| 14 extern const char kLinkDoctorBaseURL[]; |
| 15 |
| 14 // Adds the Google locale string to the URL (e.g., hl=en-US). This does not | 16 // Adds the Google locale string to the URL (e.g., hl=en-US). This does not |
| 15 // check to see if the param already exists. | 17 // check to see if the param already exists. |
| 16 GURL AppendGoogleLocaleParam(const GURL& url); | 18 GURL AppendGoogleLocaleParam(const GURL& url); |
| 17 | 19 |
| 18 // Adds the Google TLD string to the URL (e.g., sd=com). This does not | 20 // Adds the Google TLD string to the URL (e.g., sd=com). This does not |
| 19 // check to see if the param already exists. | 21 // check to see if the param already exists. |
| 20 GURL AppendGoogleTLDParam(const GURL& url); | 22 GURL AppendGoogleTLDParam(const GURL& url); |
| 21 | 23 |
| 22 } // namespace google_util | 24 } // namespace google_util |
| 23 | 25 |
| 24 #endif // CHROME_BROWSER_GOOGLE_UTIL_H__ | 26 #endif // CHROME_BROWSER_GOOGLE_UTIL_H__ |
| OLD | NEW |