blob: de0820e90ae2f205e1803b196e9189ac54f7103f [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// Copyright (c) 2012 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_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
6#define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
7
8#include "base/basictypes.h"
Torne (Richard Coles)58218062012-11-14 11:43:16 +00009
10class Profile;
11namespace content {
12class WebUI;
13}
14
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +010015// TODO(fdoray): This file should be moved to chrome/browser/signin.
Torne (Richard Coles)58218062012-11-14 11:43:16 +000016namespace sync_promo_trial {
17
18// Records that the user was shown the sync promo for any currently running sync
19// promo trials. |web_ui| is the web UI where the promo was shown.
20void RecordUserShownPromo(content::WebUI* web_ui);
21
22// Records that the user signed into sync for any currently running sync promo
23// trials. |web_ui| is the web UI where the user signed into sync.
24void RecordUserSignedIn(content::WebUI* web_ui);
25
26} // namespace sync_promo_trial
27
28#endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_