| Index: chrome/browser/profiles/profile_manager.h
|
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
|
| index a0d1262d04c77dc7828a81c85d96b4d501604975..a93d457fc223f9fedaf2a049317e11eee5926ead 100644
|
| --- a/chrome/browser/profiles/profile_manager.h
|
| +++ b/chrome/browser/profiles/profile_manager.h
|
| @@ -80,9 +80,11 @@ class ProfileManager : public base::NonThreadSafe,
|
| const string16& icon_url,
|
| bool is_managed);
|
|
|
| - // Initiates default profile creation. If default profile has already been
|
| - // created then the callback is called immediately. Should be called on the
|
| - // UI thread.
|
| + // Initiates profile creation identified by |active_profile_username_hash_|.
|
| + // If profile has already been created then the callback is called
|
| + // immediately. Should be called on the UI thread.
|
| + // This method is only used on Chrome OS where every user profile
|
| + // has username_hash associated with it.
|
| static void CreateDefaultProfileAsync(const CreateCallback& callback);
|
|
|
| // Returns true if the profile pointer is known to point to an existing
|
| @@ -356,6 +358,11 @@ class ProfileManager : public base::NonThreadSafe,
|
| std::vector<Profile*> active_profiles_;
|
| bool closing_all_browsers_;
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + // Identifies active profile on Chrome OS.
|
| + std::string active_profile_username_hash_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProfileManager);
|
| };
|
|
|
|
|