Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1370)

Side by Side Diff: chrome/browser/ui/webui/sync_promo/sync_promo_trial.h

Issue 17167006: move sync_promo_ui to non-webui-specific directory (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed include guard on moved file Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" 9 #include "chrome/browser/ui/sync/sync_promo_ui.h"
10 10
11 class Profile; 11 class Profile;
12 namespace content { 12 namespace content {
13 class WebUI; 13 class WebUI;
14 } 14 }
15 15
16 namespace sync_promo_trial { 16 namespace sync_promo_trial {
17 17
18 // Records that the user was shown the sync promo for any currently running sync 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. 19 // promo trials. |web_ui| is the web UI where the promo was shown.
20 void RecordUserShownPromo(content::WebUI* web_ui); 20 void RecordUserShownPromo(content::WebUI* web_ui);
21 21
22 // Records that the user signed into sync for any currently running sync promo 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. 23 // trials. |web_ui| is the web UI where the user signed into sync.
24 void RecordUserSignedIn(content::WebUI* web_ui); 24 void RecordUserSignedIn(content::WebUI* web_ui);
25 25
26 } // namespace sync_promo_trial 26 } // namespace sync_promo_trial
27 27
28 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_ 28 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698