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

Side by Side Diff: chrome/browser/chromeos/login/mock_user_manager.h

Issue 14507003: Add tray warning for Locally managed users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win-aura compile error Created 7 years, 7 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 | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/login/user_manager.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MOCK_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 MOCK_METHOD1(AddSessionStateObserver, 64 MOCK_METHOD1(AddSessionStateObserver,
65 void(UserManager::UserSessionStateObserver*)); 65 void(UserManager::UserSessionStateObserver*));
66 MOCK_METHOD1(RemoveSessionStateObserver, 66 MOCK_METHOD1(RemoveSessionStateObserver,
67 void(UserManager::UserSessionStateObserver*)); 67 void(UserManager::UserSessionStateObserver*));
68 MOCK_METHOD0(NotifyLocalStateChanged, void(void)); 68 MOCK_METHOD0(NotifyLocalStateChanged, void(void));
69 MOCK_METHOD0(CreateLocallyManagedUserRecord, void(void)); 69 MOCK_METHOD0(CreateLocallyManagedUserRecord, void(void));
70 MOCK_CONST_METHOD0(GetMergeSessionState, MergeSessionState(void)); 70 MOCK_CONST_METHOD0(GetMergeSessionState, MergeSessionState(void));
71 MOCK_METHOD1(SetMergeSessionState, void(MergeSessionState)); 71 MOCK_METHOD1(SetMergeSessionState, void(MergeSessionState));
72 MOCK_METHOD2(SetUserFlow, void(const std::string&, UserFlow*)); 72 MOCK_METHOD2(SetUserFlow, void(const std::string&, UserFlow*));
73 MOCK_METHOD1(ResetUserFlow, void(const std::string&)); 73 MOCK_METHOD1(ResetUserFlow, void(const std::string&));
74 MOCK_CONST_METHOD1(GetManagerForManagedUser, std::string(
75 const std::string& managed_user_id));
74 MOCK_METHOD2(CreateLocallyManagedUserRecord, const User*( 76 MOCK_METHOD2(CreateLocallyManagedUserRecord, const User*(
75 const std::string& e_mail, 77 const std::string& e_mail,
76 const string16& display_name)); 78 const string16& display_name));
77 MOCK_METHOD0(GenerateUniqueLocallyManagedUserId, std::string(void)); 79 MOCK_METHOD0(GenerateUniqueLocallyManagedUserId, std::string(void));
78 MOCK_METHOD1(StartLocallyManagedUserCreationTransaction, 80 MOCK_METHOD1(StartLocallyManagedUserCreationTransaction,
79 void(const string16&)); 81 void(const string16&));
80 MOCK_METHOD1(SetLocallyManagedUserCreationTransactionUserId, 82 MOCK_METHOD1(SetLocallyManagedUserCreationTransactionUserId,
81 void(const std::string&)); 83 void(const std::string&));
82 MOCK_METHOD0(CommitLocallyManagedUserCreationTransaction, void(void)); 84 MOCK_METHOD0(CommitLocallyManagedUserCreationTransaction, void(void));
83 85
(...skipping 21 matching lines...) Expand all
105 User* CreatePublicAccountUser(const std::string& email); 107 User* CreatePublicAccountUser(const std::string& email);
106 108
107 User* user_; 109 User* user_;
108 scoped_ptr<MockUserImageManager> user_image_manager_; 110 scoped_ptr<MockUserImageManager> user_image_manager_;
109 scoped_ptr<UserFlow> user_flow_; 111 scoped_ptr<UserFlow> user_flow_;
110 }; 112 };
111 113
112 } // namespace chromeos 114 } // namespace chromeos
113 115
114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_ 116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/login/user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698