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

Side by Side Diff: chrome/browser/ui/sync/sync_promo_ui.h

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase Created 3 years, 10 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 2013 The Chromium Authors. All rights reserved. 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 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_SYNC_SYNC_PROMO_UI_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ 6 #define CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
7 7
8 class Profile; 8 class Profile;
9 9
10 // Static helper function useful for sync promos. 10 // Static helper function useful for sync promos.
11 class SyncPromoUI { 11 class SyncPromoUI {
12 public: 12 public:
13 // Returns true if the sync promo should be visible. 13 // Returns true if the sync promo should be visible.
14 // |profile| is the profile for which the promo would be displayed. 14 // |profile| is the profile for which the promo would be displayed.
15 static bool ShouldShowSyncPromo(Profile* profile); 15 static bool ShouldShowSyncPromo(Profile* profile);
16
17 }; 16 };
18 17
19 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_ 18 #endif // CHROME_BROWSER_UI_SYNC_SYNC_PROMO_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698