Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / ui / sync / sync_promo_ui.h
blob1af94bc3136556f5cb078fa5e1c37d60dcef3ae9
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
8 class Profile;
10 // Static helper function useful for sync promos.
11 class SyncPromoUI {
12 public:
13 // Returns true if the sync promo should be visible.
14 // |profile| is the profile for which the promo would be displayed.
15 static bool ShouldShowSyncPromo(Profile* profile);
19 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_