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

Side by Side Diff: chrome/browser/ui/webui/signin/sync_confirmation_handler.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 11 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
12 #include "components/signin/core/browser/account_tracker_service.h" 12 #include "components/signin/core/browser/account_tracker_service.h"
13 #include "content/public/browser/web_ui_message_handler.h" 13 #include "content/public/browser/web_ui_message_handler.h"
14 14
15 class Browser;
16
17 namespace base { 15 namespace base {
18 class ListValue; 16 class ListValue;
19 } 17 }
20 18
21 class SyncConfirmationHandler : public content::WebUIMessageHandler, 19 class SyncConfirmationHandler : public content::WebUIMessageHandler,
22 public AccountTrackerService::Observer { 20 public AccountTrackerService::Observer {
23 public: 21 public:
24 SyncConfirmationHandler(); 22 SyncConfirmationHandler();
25 ~SyncConfirmationHandler() override; 23 ~SyncConfirmationHandler() override;
26 24
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 LoginUIService::SyncConfirmationUIClosedResult result); 60 LoginUIService::SyncConfirmationUIClosedResult result);
63 61
64 private: 62 private:
65 // Records whether the user clicked on Undo, Ok, or Settings. 63 // Records whether the user clicked on Undo, Ok, or Settings.
66 bool did_user_explicitly_interact; 64 bool did_user_explicitly_interact;
67 65
68 DISALLOW_COPY_AND_ASSIGN(SyncConfirmationHandler); 66 DISALLOW_COPY_AND_ASSIGN(SyncConfirmationHandler);
69 }; 67 };
70 68
71 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_ 69 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_error_handler.h ('k') | chrome/browser/ui/webui/signin/user_manager_screen_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698