| Index: chrome/browser/profiles/profile_impl.h
|
| diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
|
| index 6f4f415ab1934fa1860dfb6a59e9a182acd649c6..e46dd87ce0ef01eef5b2f675639072de70f290d9 100644
|
| --- a/chrome/browser/profiles/profile_impl.h
|
| +++ b/chrome/browser/profiles/profile_impl.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/prefs/pref_change_registrar.h"
|
| #include "base/timer.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -174,6 +175,12 @@ class ProfileImpl : public Profile {
|
| void EnsureSessionServiceCreated();
|
| #endif
|
|
|
| + // Updates the icon file for this profile if the icon version in the prefs is
|
| + // out of date.
|
| + void UpdateProfileIconIfNecessary();
|
| +
|
| + // Sets the icon version in the prefs on successful icon creation.
|
| + void OnProfileIconCreateSuccess();
|
|
|
| void EnsureRequestContextCreated() {
|
| GetRequestContext();
|
| @@ -224,6 +231,8 @@ class ProfileImpl : public Profile {
|
| scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
|
| scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
|
|
|
| + base::WeakPtrFactory<ProfileImpl> weak_ptr_factory_;
|
| +
|
| // Exit type the last time the profile was opened. This is set only once from
|
| // prefs.
|
| ExitType last_session_exit_type_;
|
|
|