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

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

Issue 2025433002: MD User Manager: Display error message when all profiles are locked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 4 years, 6 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_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void AttemptEasySignin(const AccountId& account_id, 75 void AttemptEasySignin(const AccountId& account_id,
76 const std::string& secret, 76 const std::string& secret,
77 const std::string& key_label) override; 77 const std::string& key_label) override;
78 78
79 void HandleInitialize(const base::ListValue* args); 79 void HandleInitialize(const base::ListValue* args);
80 void HandleAddUser(const base::ListValue* args); 80 void HandleAddUser(const base::ListValue* args);
81 void HandleAuthenticatedLaunchUser(const base::ListValue* args); 81 void HandleAuthenticatedLaunchUser(const base::ListValue* args);
82 void HandleLaunchGuest(const base::ListValue* args); 82 void HandleLaunchGuest(const base::ListValue* args);
83 void HandleLaunchUser(const base::ListValue* args); 83 void HandleLaunchUser(const base::ListValue* args);
84 void HandleRemoveUser(const base::ListValue* args); 84 void HandleRemoveUser(const base::ListValue* args);
85 void HandleAreAllProfilesLocked(const base::ListValue* args);
85 void HandleAttemptUnlock(const base::ListValue* args); 86 void HandleAttemptUnlock(const base::ListValue* args);
86 void HandleHardlockUserPod(const base::ListValue* args); 87 void HandleHardlockUserPod(const base::ListValue* args);
87 void HandleRemoveUserWarningLoadStats(const base::ListValue* args); 88 void HandleRemoveUserWarningLoadStats(const base::ListValue* args);
88 void HandleGetRemoveWarningDialogMessage(const base::ListValue* args); 89 void HandleGetRemoveWarningDialogMessage(const base::ListValue* args);
89 90
90 // Callback function used by HandleRemoveUserWarningLoadStats 91 // Callback function used by HandleRemoveUserWarningLoadStats
91 void RemoveUserDialogLoadStatsCallback( 92 void RemoveUserDialogLoadStatsCallback(
92 base::FilePath profile_path, 93 base::FilePath profile_path,
93 profiles::ProfileCategoryStats result); 94 profiles::ProfileCategoryStats result);
94 95
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 138
138 // The CancelableTaskTracker is currently used by GetProfileStatistics 139 // The CancelableTaskTracker is currently used by GetProfileStatistics
139 base::CancelableTaskTracker tracker_; 140 base::CancelableTaskTracker tracker_;
140 141
141 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; 142 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); 144 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler);
144 }; 145 };
145 146
146 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ 147 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/md_user_manager_ui.cc ('k') | chrome/browser/ui/webui/signin/user_manager_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698