| Index: chrome/browser/profile.cc
|
| ===================================================================
|
| --- chrome/browser/profile.cc (revision 28102)
|
| +++ chrome/browser/profile.cc (working copy)
|
| @@ -147,6 +147,9 @@
|
| }
|
|
|
| // static
|
| +const ProfileId Profile::InvalidProfileId = static_cast<ProfileId>(0);
|
| +
|
| +// static
|
| void Profile::RegisterUserPrefs(PrefService* prefs) {
|
| prefs->RegisterBooleanPref(prefs::kSearchSuggestEnabled, true);
|
| prefs->RegisterBooleanPref(prefs::kSessionExitedCleanly, true);
|
| @@ -227,6 +230,10 @@
|
| CleanupAppCacheService(appcache_service_);
|
| }
|
|
|
| + virtual ProfileId GetRuntimeId() {
|
| + return reinterpret_cast<ProfileId>(this);
|
| + }
|
| +
|
| virtual FilePath GetPath() { return profile_->GetPath(); }
|
|
|
| virtual bool IsOffTheRecord() {
|
| @@ -798,6 +805,10 @@
|
| MarkAsCleanShutdown();
|
| }
|
|
|
| +ProfileId ProfileImpl::GetRuntimeId() {
|
| + return reinterpret_cast<ProfileId>(this);
|
| +}
|
| +
|
| FilePath ProfileImpl::GetPath() {
|
| return path_;
|
| }
|
|
|