OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_ | 6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 | 11 |
12 class GURL; | 12 class GURL; |
13 class Profile; | 13 class Profile; |
14 | 14 |
15 namespace user_prefs { | 15 namespace user_prefs { |
16 class PrefRegistrySyncable; | 16 class PrefRegistrySyncable; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // of the URL are ignored for this comparison. | 77 // of the URL are ignored for this comparison. |
78 static bool IsContinueUrlForWebBasedSigninFlow(const GURL& url); | 78 static bool IsContinueUrlForWebBasedSigninFlow(const GURL& url); |
79 | 79 |
80 // Forces UseWebBasedSigninFlow() to return true when set; used in tests only. | 80 // Forces UseWebBasedSigninFlow() to return true when set; used in tests only. |
81 static void ForceWebBasedSigninFlowForTesting(bool force); | 81 static void ForceWebBasedSigninFlowForTesting(bool force); |
82 | 82 |
83 private: | 83 private: |
84 DISALLOW_COPY_AND_ASSIGN(SyncPromoUI); | 84 DISALLOW_COPY_AND_ASSIGN(SyncPromoUI); |
85 }; | 85 }; |
86 | 86 |
87 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_ | 87 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
OLD | NEW |