blob: 158689021e1b0d56e62d16be3babe9e6495323de [file] [log] [blame]
// Copyright 2015 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.
struct AccountInfo;
// Delegate for the bubble sync promo view.
class BubbleSyncPromoDelegate {
virtual ~BubbleSyncPromoDelegate() {}
// Informs the delegate to enable sync for |account| or to present
// the browser sign-in page if |account| is empty.
// |is_default_promo_account| is true if |account| corresponds to the default
// account in the promo. It is ignored if |account| is empty.
virtual void OnEnableSync(const AccountInfo& account,
bool is_default_promo_account) = 0;