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

Side by Side Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler.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: moving files to chrome/browser/ui/webui/sync_promo/ 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_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/sync_setup_handler.h" 9 #include "chrome/browser/ui/webui/sync_setup_handler.h"
10 10
11 class PrefService; 11 class PrefService;
12 12
13 // The handler for JavaScript messages related to the "sync promo" page. 13 // The handler for JavaScript messages related to the "sync promo" page.
14 class SyncPromoHandler : public SyncSetupHandler { 14 class SyncPromoHandler : public SyncSetupHandler {
15 public: 15 public:
16 explicit SyncPromoHandler(ProfileManager* profile_manager); 16 explicit SyncPromoHandler(ProfileManager* profile_manager);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 PrefService* prefs_; 87 PrefService* prefs_;
88 88
89 // If the user closes the whole window we'll get a close notification from the 89 // If the user closes the whole window we'll get a close notification from the
90 // tab as well, so this bool acts as a small mutex to only report the close 90 // tab as well, so this bool acts as a small mutex to only report the close
91 // method once. 91 // method once.
92 bool window_already_closed_; 92 bool window_already_closed_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler); 94 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler);
95 }; 95 };
96 96
97 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 97 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698