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

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

Issue 8933003: [Sync Promo UI] Changing sync promo to honor brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing supposedly needless .gypi deps Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/chrome_web_ui.h" 9 #include "chrome/browser/ui/webui/chrome_web_ui.h"
10 10
11 class Profile; 11 class Profile;
12 class PrefService; 12 class PrefService;
13 13
14 // The Web UI handler for chrome://syncpromo. 14 // The Web UI handler for chrome://syncpromo.
15 class SyncPromoUI : public ChromeWebUI { 15 class SyncPromoUI : public ChromeWebUI {
16 public: 16 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // Gets the next page URL from the query portion of the sync promo URL. 51 // Gets the next page URL from the query portion of the sync promo URL.
52 static GURL GetNextPageURLForSyncPromoURL(const GURL& url); 52 static GURL GetNextPageURLForSyncPromoURL(const GURL& url);
53 53
54 // Returns true if the sync promo page was ever shown at startup. 54 // Returns true if the sync promo page was ever shown at startup.
55 static bool UserHasSeenSyncPromoAtStartup(Profile* profile); 55 static bool UserHasSeenSyncPromoAtStartup(Profile* profile);
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(SyncPromoUI); 58 DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
59 }; 59 };
60 60
61 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_UI_H_ 61 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698