From 0ae7d14ea97bdb4170948521144de57059eb4eeb Mon Sep 17 00:00:00 2001 From: "tim@chromium.org" Date: Tue, 16 Sep 2008 00:37:37 +0000 Subject: Remove registration step between NavigationController > Profile. No code path requires NavigationControllers to register themselves with a profile. We won't need this moving forward, either. Review URL: http://codereview.chromium.org/2869 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2254 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/profile.cc | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'chrome/browser/profile.cc') diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 28027c7..dacbe95 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -451,19 +451,6 @@ class OffTheRecordProfileImpl : public Profile, profile_->SetID(id); } - virtual void RegisterNavigationController(NavigationController* controller) { - profile_->RegisterNavigationController(controller); - } - - virtual void UnregisterNavigationController(NavigationController* - controller) { - profile_->UnregisterNavigationController(controller); - } - - virtual const Profile::ProfileControllerSet& GetNavigationControllers() { - return profile_->GetNavigationControllers(); - } - virtual bool DidLastSessionExitCleanly() { return profile_->DidLastSessionExitCleanly(); } @@ -815,20 +802,6 @@ void ProfileImpl::SetID(const std::wstring& id) { GetPrefs()->SetString(prefs::kProfileID, id); } -void ProfileImpl::RegisterNavigationController( - NavigationController* controller) { - controllers_.insert(controller); -} - -void ProfileImpl::UnregisterNavigationController( - NavigationController* controller) { - controllers_.erase(controller); -} - -const Profile::ProfileControllerSet& ProfileImpl::GetNavigationControllers() { - return controllers_; -} - bool ProfileImpl::DidLastSessionExitCleanly() { // last_session_exited_cleanly_ is set when the preferences are loaded. Force // it to be set by asking for the prefs. -- cgit v1.1