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

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

Issue 2704113003: Save Play user id when ARC user gets a Managed Google Play account (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
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 ArcActiveDirectoryEnrollmentTokenFetcherBrowserTest;
21 class ArcAppTest; 22 class ArcAppTest;
22 class SessionControllerClientTest; 23 class SessionControllerClientTest;
23 class Profile; 24 class Profile;
24 25
25 namespace base { 26 namespace base {
26 class FilePath; 27 class FilePath;
27 } 28 }
28 29
29 namespace extensions { 30 namespace extensions {
30 class ExtensionGarbageCollectorChromeOSUnitTest; 31 class ExtensionGarbageCollectorChromeOSUnitTest;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; 160 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest;
160 friend class FakeChromeUserManager; 161 friend class FakeChromeUserManager;
161 friend class KioskTest; 162 friend class KioskTest;
162 friend class MockUserManager; 163 friend class MockUserManager;
163 friend class MultiProfileUserControllerTest; 164 friend class MultiProfileUserControllerTest;
164 friend class PrinterDetectorAppSearchEnabledTest; 165 friend class PrinterDetectorAppSearchEnabledTest;
165 friend class ProfileHelperTest; 166 friend class ProfileHelperTest;
166 friend class ProfileListChromeOSTest; 167 friend class ProfileListChromeOSTest;
167 friend class SystemTrayDelegateChromeOSTest; 168 friend class SystemTrayDelegateChromeOSTest;
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 ::SessionControllerClientTest; 172 friend class ::SessionControllerClientTest;
171 friend class ::test::BrowserFinderChromeOSTest; 173 friend class ::test::BrowserFinderChromeOSTest;
172 174
173 // Called when signin profile is cleared. 175 // Called when signin profile is cleared.
174 void OnSigninProfileCleared(); 176 void OnSigninProfileCleared();
175 177
176 // BrowsingDataRemover::Observer implementation: 178 // BrowsingDataRemover::Observer implementation:
177 void OnBrowsingDataRemoverDone() override; 179 void OnBrowsingDataRemoverDone() override;
178 180
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 std::unique_ptr<FileFlusher> profile_flusher_; 237 std::unique_ptr<FileFlusher> profile_flusher_;
236 238
237 base::WeakPtrFactory<ProfileHelper> weak_factory_; 239 base::WeakPtrFactory<ProfileHelper> weak_factory_;
238 240
239 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); 241 DISALLOW_COPY_AND_ASSIGN(ProfileHelper);
240 }; 242 };
241 243
242 } // namespace chromeos 244 } // namespace chromeos
243 245
244 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ 246 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698