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

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

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
« no previous file with comments | « components/url_matcher/url_matcher_unittest.cc ('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/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "components/signin/core/account_id/account_id.h" 12 #include "components/signin/core/account_id/account_id.h"
14 #include "components/user_manager/user.h" 13 #include "components/user_manager/user.h"
15 #include "components/user_manager/user_manager_base.h" 14 #include "components/user_manager/user_manager_base.h"
16 15
17 namespace user_manager { 16 namespace user_manager {
18 17
19 // Fake user manager with a barebones implementation. Users can be added 18 // Fake user manager with a barebones implementation. Users can be added
20 // and set as logged in, and those users can be returned. 19 // and set as logged in, and those users can be returned.
21 class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase { 20 class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase {
22 public: 21 public:
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 156
158 // stub. Always empty. 157 // stub. Always empty.
159 gfx::ImageSkia empty_image_; 158 gfx::ImageSkia empty_image_;
160 159
161 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 160 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
162 }; 161 };
163 162
164 } // namespace user_manager 163 } // namespace user_manager
165 164
166 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 165 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « components/url_matcher/url_matcher_unittest.cc ('k') | components/user_manager/known_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698