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

Side by Side Diff: chrome/browser/ui/webui/sync_promo_handler.h

Issue 8537007: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/webui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/webui/sync_internals_ui.h ('k') | chrome/browser/ui/webui/task_manager_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_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;
12
11 // The handler for Javascript messages related to the "sync promo" page. 13 // The handler for Javascript messages related to the "sync promo" page.
12 class SyncPromoHandler : public SyncSetupHandler { 14 class SyncPromoHandler : public SyncSetupHandler {
13 public: 15 public:
14 explicit SyncPromoHandler(ProfileManager* profile_manager); 16 explicit SyncPromoHandler(ProfileManager* profile_manager);
15 virtual ~SyncPromoHandler(); 17 virtual ~SyncPromoHandler();
16 18
17 // Called to register our preferences before we use them (so there will be a 19 // Called to register our preferences before we use them (so there will be a
18 // default if not present yet). 20 // default if not present yet).
19 static void RegisterUserPrefs(PrefService* prefs); 21 static void RegisterUserPrefs(PrefService* prefs);
20 22
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 70
69 // If the user closes the whole window we'll get a close notification from the 71 // If the user closes the whole window we'll get a close notification from the
70 // tab as well, so this bool acts as a small mutex to only report the close 72 // tab as well, so this bool acts as a small mutex to only report the close
71 // method once. 73 // method once.
72 bool window_already_closed_; 74 bool window_already_closed_;
73 75
74 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler); 76 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler);
75 }; 77 };
76 78
77 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 79 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_internals_ui.h ('k') | chrome/browser/ui/webui/task_manager_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698