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

Side by Side Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 2808353008: arc: kArcCompatibleFilesystemChosen pref to local state and integer. (Closed)
Patch Set: Created 3 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SESSION_USER_SESSION_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 bool has_auth_cookies); 282 bool has_auth_cookies);
283 void PreStartSession(); 283 void PreStartSession();
284 284
285 // Store any useful UserContext data early on when profile has not been 285 // Store any useful UserContext data early on when profile has not been
286 // created yet and user services were not yet initialized. Can store 286 // created yet and user services were not yet initialized. Can store
287 // information in Local State like GAIA ID. 287 // information in Local State like GAIA ID.
288 void StoreUserContextDataBeforeProfileIsCreated(); 288 void StoreUserContextDataBeforeProfileIsCreated();
289 289
290 void StartCrosSession(); 290 void StartCrosSession();
291 void PrepareProfile(); 291 void PrepareProfile();
292 void PrepareProfileAfterFilesystemCheck(bool arc_compatible_filesystem); 292 void SetFileSystemPrefAndPrepareProfile(bool arc_compatible_filesystem);
293 293
294 // Callback for asynchronous profile creation. 294 // Callback for asynchronous profile creation.
295 void OnProfileCreated(const UserContext& user_context, 295 void OnProfileCreated(const UserContext& user_context,
296 bool is_incognito_profile, 296 bool is_incognito_profile,
297 bool arc_compatible_filesystem,
298 Profile* profile, 297 Profile* profile,
299 Profile::CreateStatus status); 298 Profile::CreateStatus status);
300 299
301 // Callback for Profile::CREATE_STATUS_CREATED profile state. 300 // Callback for Profile::CREATE_STATUS_CREATED profile state.
302 // Initializes basic preferences for newly created profile. Any other 301 // Initializes basic preferences for newly created profile. Any other
303 // early profile initialization that needs to happen before 302 // early profile initialization that needs to happen before
304 // ProfileManager::DoFinalInit() gets called is done here. 303 // ProfileManager::DoFinalInit() gets called is done here.
305 void InitProfilePreferences(Profile* profile, 304 void InitProfilePreferences(Profile* profile,
306 const UserContext& user_context, 305 const UserContext& user_context);
307 bool arc_compatible_filesystem);
308 306
309 // Callback for Profile::CREATE_STATUS_INITIALIZED profile state. 307 // Callback for Profile::CREATE_STATUS_INITIALIZED profile state.
310 // Profile is created, extensions and promo resources are initialized. 308 // Profile is created, extensions and promo resources are initialized.
311 void UserProfileInitialized(Profile* profile, 309 void UserProfileInitialized(Profile* profile,
312 bool is_incognito_profile, 310 bool is_incognito_profile,
313 const AccountId& account_id); 311 const AccountId& account_id);
314 312
315 // Callback to resume profile creation after transferring auth data from 313 // Callback to resume profile creation after transferring auth data from
316 // the authentication profile. 314 // the authentication profile.
317 void CompleteProfileCreateAfterAuthTransfer(Profile* profile); 315 void CompleteProfileCreateAfterAuthTransfer(Profile* profile);
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 scoped_refptr<HatsNotificationController> hats_notification_controller_; 516 scoped_refptr<HatsNotificationController> hats_notification_controller_;
519 517
520 base::WeakPtrFactory<UserSessionManager> weak_factory_; 518 base::WeakPtrFactory<UserSessionManager> weak_factory_;
521 519
522 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); 520 DISALLOW_COPY_AND_ASSIGN(UserSessionManager);
523 }; 521 };
524 522
525 } // namespace chromeos 523 } // namespace chromeos
526 524
527 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 525 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698