| // Copyright (c) 2012 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_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ |
| #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ |
| |
| #include "base/basictypes.h" |
| |
| class Profile; |
| namespace content { |
| class WebUI; |
| } |
| |
| // TODO(fdoray): This file should be moved to chrome/browser/signin. |
| namespace sync_promo_trial { |
| |
| // Records that the user was shown the sync promo for any currently running sync |
| // promo trials. |web_ui| is the web UI where the promo was shown. |
| void RecordUserShownPromo(content::WebUI* web_ui); |
| |
| // Records that the user signed into sync for any currently running sync promo |
| // trials. |web_ui| is the web UI where the user signed into sync. |
| void RecordUserSignedIn(content::WebUI* web_ui); |
| |
| } // namespace sync_promo_trial |
| |
| #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ |