| 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_UI_SYNC_SYNC_PROMO_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
| 6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ | 6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
| 7 | 7 |
| 8 class Profile; | 8 class Profile; |
| 9 | 9 |
| 10 // Static helper function useful for sync promos. | 10 // Static helper function useful for sync promos. |
| 11 class SyncPromoUI { | 11 class SyncPromoUI { |
| 12 public: | 12 public: |
| 13 // Returns true if the sync promo should be visible. | 13 // Returns true if the sync promo should be visible. |
| 14 // |profile| is the profile for which the promo would be displayed. | 14 // |profile| is the profile for which the promo would be displayed. |
| 15 static bool ShouldShowSyncPromo(Profile* profile); | 15 static bool ShouldShowSyncPromo(Profile* profile); |
| 16 | |
| 17 }; | 16 }; |
| 18 | 17 |
| 19 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ | 18 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ |
| OLD | NEW |