| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_UTIL_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_UTIL_H_ |
| 7 |
| 8 class Profile; |
| 9 |
| 10 // Cross-platform utility functions for signin promos. |
| 11 namespace signin { |
| 12 |
| 13 // Returns true if the sign in promo should be visible. |
| 14 // |profile| is the profile of the tab the promo would be shown on. |
| 15 bool ShouldShowPromo(Profile* profile); |
| 16 |
| 17 } // namespace signin |
| 18 |
| 19 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_UTIL_H_ |
| OLD | NEW |