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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_chrome_user_manager.h

Issue 2726523002: Pass Callback to TaskRunner by value and consume it on invocation (1) (Closed)
Patch Set: erase Closure* Created 3 years, 8 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 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_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback_forward.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "chrome/browser/chromeos/login/user_flow.h" 14 #include "chrome/browser/chromeos/login/user_flow.h"
14 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h" 15 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h"
15 #include "components/user_manager/fake_user_manager.h" 16 #include "components/user_manager/fake_user_manager.h"
16 #include "components/user_manager/user.h" 17 #include "components/user_manager/user.h"
17 #include "components/user_manager/user_image/user_image.h" 18 #include "components/user_manager/user_image/user_image.h"
18 19
19 namespace chromeos { 20 namespace chromeos {
20 21
21 class FakeSupervisedUserManager; 22 class FakeSupervisedUserManager;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // Specific flows by user e-mail. 207 // Specific flows by user e-mail.
207 // Keys should be canonicalized before access. 208 // Keys should be canonicalized before access.
208 FlowMap specific_flows_; 209 FlowMap specific_flows_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager); 211 DISALLOW_COPY_AND_ASSIGN(FakeChromeUserManager);
211 }; 212 };
212 213
213 } // namespace chromeos 214 } // namespace chromeos
214 215
215 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_ 216 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_CHROME_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698