OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ |
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ | 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "chrome/browser/ui/profile_chooser_constants.h" | 10 #include "chrome/browser/ui/profile_chooser_constants.h" |
12 #include "components/signin/core/browser/signin_metrics.h" | 11 #include "components/signin/core/browser/signin_metrics.h" |
13 | 12 |
14 class GURL; | 13 class GURL; |
15 class Profile; | 14 class Profile; |
16 | 15 |
17 namespace user_prefs { | 16 namespace user_prefs { |
18 class PrefRegistrySyncable; | 17 class PrefRegistrySyncable; |
19 } | 18 } |
20 | 19 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 // Forces UseWebBasedSigninFlow() to return true when set; used in tests only. | 99 // Forces UseWebBasedSigninFlow() to return true when set; used in tests only. |
101 void ForceWebBasedSigninFlowForTesting(bool force); | 100 void ForceWebBasedSigninFlowForTesting(bool force); |
102 | 101 |
103 // Registers the preferences the Sign In Promo needs. | 102 // Registers the preferences the Sign In Promo needs. |
104 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 103 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
105 | 104 |
106 } // namespace signin | 105 } // namespace signin |
107 | 106 |
108 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ | 107 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_H_ |
OLD | NEW |