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

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

Issue 2788383003: ChromeOS: Disable ARC when incompatible filesystem is detected. (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(
293 bool arc_compatible_filesystem);
292 294
293 // Callback for asynchronous profile creation. 295 // Callback for asynchronous profile creation.
294 void OnProfileCreated(const UserContext& user_context, 296 void OnProfileCreated(const UserContext& user_context,
295 bool is_incognito_profile, 297 bool is_incognito_profile,
298 bool arc_compatible_filesystem,
296 Profile* profile, 299 Profile* profile,
297 Profile::CreateStatus status); 300 Profile::CreateStatus status);
298 301
299 // Callback for Profile::CREATE_STATUS_CREATED profile state. 302 // Callback for Profile::CREATE_STATUS_CREATED profile state.
300 // Initializes basic preferences for newly created profile. Any other 303 // Initializes basic preferences for newly created profile. Any other
301 // early profile initialization that needs to happen before 304 // early profile initialization that needs to happen before
302 // ProfileManager::DoFinalInit() gets called is done here. 305 // ProfileManager::DoFinalInit() gets called is done here.
303 void InitProfilePreferences(Profile* profile, 306 void InitProfilePreferences(Profile* profile,
304 const UserContext& user_context); 307 const UserContext& user_context,
308 bool arc_compatible_filesystem);
305 309
306 // Callback for Profile::CREATE_STATUS_INITIALIZED profile state. 310 // Callback for Profile::CREATE_STATUS_INITIALIZED profile state.
307 // Profile is created, extensions and promo resources are initialized. 311 // Profile is created, extensions and promo resources are initialized.
308 void UserProfileInitialized(Profile* profile, 312 void UserProfileInitialized(Profile* profile,
309 bool is_incognito_profile, 313 bool is_incognito_profile,
310 const AccountId& account_id); 314 const AccountId& account_id);
311 315
312 // Callback to resume profile creation after transferring auth data from 316 // Callback to resume profile creation after transferring auth data from
313 // the authentication profile. 317 // the authentication profile.
314 void CompleteProfileCreateAfterAuthTransfer(Profile* profile); 318 void CompleteProfileCreateAfterAuthTransfer(Profile* profile);
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 scoped_refptr<HatsNotificationController> hats_notification_controller_; 519 scoped_refptr<HatsNotificationController> hats_notification_controller_;
516 520
517 base::WeakPtrFactory<UserSessionManager> weak_factory_; 521 base::WeakPtrFactory<UserSessionManager> weak_factory_;
518 522
519 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); 523 DISALLOW_COPY_AND_ASSIGN(UserSessionManager);
520 }; 524 };
521 525
522 } // namespace chromeos 526 } // namespace chromeos
523 527
524 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 528 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698