| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 16 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 17 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" | 17 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" |
| 18 #include "components/user_manager/user_manager.h" | 18 #include "components/user_manager/user_manager.h" |
| 19 | 19 |
| 20 class Profile; | 20 class Profile; |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class FilePath; | 23 class FilePath; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace extensions { | 26 namespace extensions { |
| 27 class ExtensionGarbageCollectorChromeOSUnitTest; | 27 class ExtensionGarbageCollectorChromeOSUnitTest; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace arc { |
| 31 class SyncArcPackageHelper; |
| 32 } |
| 33 |
| 30 namespace ash { | 34 namespace ash { |
| 31 namespace test { | 35 namespace test { |
| 32 class MultiUserWindowManagerChromeOSTest; | 36 class MultiUserWindowManagerChromeOSTest; |
| 33 } // namespace test | 37 } // namespace test |
| 34 } // namespace ash | 38 } // namespace ash |
| 35 | 39 |
| 36 namespace test { | 40 namespace test { |
| 37 class BrowserFinderChromeOSTest; | 41 class BrowserFinderChromeOSTest; |
| 38 } // namespace test | 42 } // namespace test |
| 39 | 43 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; | 155 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; |
| 152 friend class FakeChromeUserManager; | 156 friend class FakeChromeUserManager; |
| 153 friend class KioskTest; | 157 friend class KioskTest; |
| 154 friend class MockUserManager; | 158 friend class MockUserManager; |
| 155 friend class MultiProfileUserControllerTest; | 159 friend class MultiProfileUserControllerTest; |
| 156 friend class PrinterDetectorAppSearchEnabledTest; | 160 friend class PrinterDetectorAppSearchEnabledTest; |
| 157 friend class ProfileHelperTest; | 161 friend class ProfileHelperTest; |
| 158 friend class ProfileListChromeOSTest; | 162 friend class ProfileListChromeOSTest; |
| 159 friend class SessionStateDelegateChromeOSTest; | 163 friend class SessionStateDelegateChromeOSTest; |
| 160 friend class SystemTrayDelegateChromeOSTest; | 164 friend class SystemTrayDelegateChromeOSTest; |
| 165 friend class arc::SyncArcPackageHelper; |
| 161 friend class ash::test::MultiUserWindowManagerChromeOSTest; | 166 friend class ash::test::MultiUserWindowManagerChromeOSTest; |
| 162 friend class ::test::BrowserFinderChromeOSTest; | 167 friend class ::test::BrowserFinderChromeOSTest; |
| 163 | 168 |
| 164 // Called when signin profile is cleared. | 169 // Called when signin profile is cleared. |
| 165 void OnSigninProfileCleared(); | 170 void OnSigninProfileCleared(); |
| 166 | 171 |
| 167 // BrowsingDataRemover::Observer implementation: | 172 // BrowsingDataRemover::Observer implementation: |
| 168 void OnBrowsingDataRemoverDone() override; | 173 void OnBrowsingDataRemoverDone() override; |
| 169 | 174 |
| 170 // OAuth2LoginManager::Observer overrides. | 175 // OAuth2LoginManager::Observer overrides. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 std::unique_ptr<FileFlusher> profile_flusher_; | 231 std::unique_ptr<FileFlusher> profile_flusher_; |
| 227 | 232 |
| 228 base::WeakPtrFactory<ProfileHelper> weak_factory_; | 233 base::WeakPtrFactory<ProfileHelper> weak_factory_; |
| 229 | 234 |
| 230 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); | 235 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); |
| 231 }; | 236 }; |
| 232 | 237 |
| 233 } // namespace chromeos | 238 } // namespace chromeos |
| 234 | 239 |
| 235 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 240 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
| OLD | NEW |