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

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

Powered by Google App Engine
This is Rietveld 408576698