| OLD | NEW |
| 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 ArcActiveDirectoryEnrollmentTokenFetcherBrowserTest; |
| 21 class ArcAppTest; | 22 class ArcAppTest; |
| 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 } |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 friend class KioskTest; | 160 friend class KioskTest; |
| 160 friend class MockUserManager; | 161 friend class MockUserManager; |
| 161 friend class MultiProfileUserControllerTest; | 162 friend class MultiProfileUserControllerTest; |
| 162 friend class PrinterDetectorAppSearchEnabledTest; | 163 friend class PrinterDetectorAppSearchEnabledTest; |
| 163 friend class ProfileHelperTest; | 164 friend class ProfileHelperTest; |
| 164 friend class ProfileListChromeOSTest; | 165 friend class ProfileListChromeOSTest; |
| 165 friend class SessionStateDelegateChromeOSTest; | 166 friend class SessionStateDelegateChromeOSTest; |
| 166 friend class SystemTrayDelegateChromeOSTest; | 167 friend class SystemTrayDelegateChromeOSTest; |
| 167 friend class arc::SyncArcPackageHelper; | 168 friend class arc::SyncArcPackageHelper; |
| 168 friend class ash::test::MultiUserWindowManagerChromeOSTest; | 169 friend class ash::test::MultiUserWindowManagerChromeOSTest; |
| 170 friend class ::ArcActiveDirectoryEnrollmentTokenFetcherBrowserTest; |
| 169 friend class ::ArcAppTest; | 171 friend class ::ArcAppTest; |
| 170 friend class ::test::BrowserFinderChromeOSTest; | 172 friend class ::test::BrowserFinderChromeOSTest; |
| 171 | 173 |
| 172 // Called when signin profile is cleared. | 174 // Called when signin profile is cleared. |
| 173 void OnSigninProfileCleared(); | 175 void OnSigninProfileCleared(); |
| 174 | 176 |
| 175 // BrowsingDataRemover::Observer implementation: | 177 // BrowsingDataRemover::Observer implementation: |
| 176 void OnBrowsingDataRemoverDone() override; | 178 void OnBrowsingDataRemoverDone() override; |
| 177 | 179 |
| 178 // OAuth2LoginManager::Observer overrides. | 180 // OAuth2LoginManager::Observer overrides. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 std::unique_ptr<FileFlusher> profile_flusher_; | 236 std::unique_ptr<FileFlusher> profile_flusher_; |
| 235 | 237 |
| 236 base::WeakPtrFactory<ProfileHelper> weak_factory_; | 238 base::WeakPtrFactory<ProfileHelper> weak_factory_; |
| 237 | 239 |
| 238 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); | 240 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); |
| 239 }; | 241 }; |
| 240 | 242 |
| 241 } // namespace chromeos | 243 } // namespace chromeos |
| 242 | 244 |
| 243 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 245 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
| OLD | NEW |