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. |
| 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 { |
| 18 |
| 19 // Returns the current Google homepage URL. Guaranteed to synchronously return |
| 20 // a value at all times (even during startup, in unittest mode or if |profile| |
| 21 // is NULL). |
| 22 GURL GetGoogleHomePageURL(Profile* profile); |
| 23 |
| 24 } // namespace google_profile_helper |
| 25 |
| 26 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_PROFILE_HELPER_H__ |
OLD | NEW |