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

Side by Side Diff: chrome/browser/chromeos/profiles/profile_helper.h

Issue 2727763002: cros: Convert SessionStateDelegateChromeOS tests (Closed)
Patch Set: rebase Created 3 years, 9 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 | « no previous file | chrome/browser/ui/ash/session_controller_client_unittest.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_CHROMEOS_PROFILES_PROFILE_HELPER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ 6 #define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "chrome/browser/browsing_data/browsing_data_remover.h" 17 #include "chrome/browser/browsing_data/browsing_data_remover.h"
18 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" 18 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h"
19 #include "components/user_manager/user_manager.h" 19 #include "components/user_manager/user_manager.h"
20 20
21 class ArcAppTest; 21 class ArcAppTest;
22 class SessionControllerClientTest;
22 class Profile; 23 class Profile;
23 24
24 namespace base { 25 namespace base {
25 class FilePath; 26 class FilePath;
26 } 27 }
27 28
28 namespace extensions { 29 namespace extensions {
29 class ExtensionGarbageCollectorChromeOSUnitTest; 30 class ExtensionGarbageCollectorChromeOSUnitTest;
30 } 31 }
31 32
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 friend class policy::DeviceStatusCollectorTest; 161 friend class policy::DeviceStatusCollectorTest;
161 friend class ExistingUserControllerTest; 162 friend class ExistingUserControllerTest;
162 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; 163 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest;
163 friend class FakeChromeUserManager; 164 friend class FakeChromeUserManager;
164 friend class KioskTest; 165 friend class KioskTest;
165 friend class MockUserManager; 166 friend class MockUserManager;
166 friend class MultiProfileUserControllerTest; 167 friend class MultiProfileUserControllerTest;
167 friend class PrinterDetectorAppSearchEnabledTest; 168 friend class PrinterDetectorAppSearchEnabledTest;
168 friend class ProfileHelperTest; 169 friend class ProfileHelperTest;
169 friend class ProfileListChromeOSTest; 170 friend class ProfileListChromeOSTest;
170 friend class SessionStateDelegateChromeOSTest;
171 friend class SystemTrayDelegateChromeOSTest; 171 friend class SystemTrayDelegateChromeOSTest;
172 friend class arc::SyncArcPackageHelper; 172 friend class arc::SyncArcPackageHelper;
173 friend class ash::test::MultiUserWindowManagerChromeOSTest; 173 friend class ash::test::MultiUserWindowManagerChromeOSTest;
174 friend class ::ArcAppTest; 174 friend class ::ArcAppTest;
175 friend class ::SessionControllerClientTest;
175 friend class ::test::BrowserFinderChromeOSTest; 176 friend class ::test::BrowserFinderChromeOSTest;
176 177
177 // Called when signin profile is cleared. 178 // Called when signin profile is cleared.
178 void OnSigninProfileCleared(); 179 void OnSigninProfileCleared();
179 180
180 // BrowsingDataRemover::Observer implementation: 181 // BrowsingDataRemover::Observer implementation:
181 void OnBrowsingDataRemoverDone() override; 182 void OnBrowsingDataRemoverDone() override;
182 183
183 // OAuth2LoginManager::Observer overrides. 184 // OAuth2LoginManager::Observer overrides.
184 void OnSessionRestoreStateChanged( 185 void OnSessionRestoreStateChanged(
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 std::unique_ptr<FileFlusher> profile_flusher_; 240 std::unique_ptr<FileFlusher> profile_flusher_;
240 241
241 base::WeakPtrFactory<ProfileHelper> weak_factory_; 242 base::WeakPtrFactory<ProfileHelper> weak_factory_;
242 243
243 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); 244 DISALLOW_COPY_AND_ASSIGN(ProfileHelper);
244 }; 245 };
245 246
246 } // namespace chromeos 247 } // namespace chromeos
247 248
248 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ 249 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/ash/session_controller_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698