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. 4 5#ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ 6#define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ 7 8class Profile; 9 10// Static helper function useful for sync promos. 11class 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); 16 17}; 18 19#endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ 20