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

Side by Side Diff: components/user_manager/fake_user_manager.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/known_user.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 5 #ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "components/signin/core/account_id/account_id.h" 13 #include "components/signin/core/account_id/account_id.h"
13 #include "components/user_manager/user.h" 14 #include "components/user_manager/user.h"
14 #include "components/user_manager/user_manager_base.h" 15 #include "components/user_manager/user_manager_base.h"
15 16
16 namespace user_manager { 17 namespace user_manager {
17 18
18 // Fake user manager with a barebones implementation. Users can be added 19 // Fake user manager with a barebones implementation. Users can be added
19 // and set as logged in, and those users can be returned. 20 // and set as logged in, and those users can be returned.
20 class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase { 21 class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 // stub, always empty. 136 // stub, always empty.
136 AccountId owner_account_id_ = EmptyAccountId(); 137 AccountId owner_account_id_ = EmptyAccountId();
137 138
138 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 139 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
139 }; 140 };
140 141
141 } // namespace user_manager 142 } // namespace user_manager
142 143
143 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 144 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/known_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698