summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/sync/sync_promo_ui.h
blob: 1af94bc3136556f5cb078fa5e1c37d60dcef3ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
#define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_

class Profile;

// Static helper function useful for sync promos.
class SyncPromoUI {
 public:
  // Returns true if the sync promo should be visible.
  // |profile| is the profile for which the promo would be displayed.
  static bool ShouldShowSyncPromo(Profile* profile);

};

#endif  // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_