| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| ===================================================================
|
| --- chrome/browser/profiles/off_the_record_profile_io_data.cc (revision 92669)
|
| +++ chrome/browser/profiles/off_the_record_profile_io_data.cc (working copy)
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/profiles/off_the_record_profile_io_data.h"
|
|
|
| -#include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/stl_util-inl.h"
|
| #include "build/build_config.h"
|
| @@ -13,7 +12,6 @@
|
| #include "chrome/browser/net/chrome_net_log.h"
|
| #include "chrome/browser/net/chrome_network_delegate.h"
|
| #include "chrome/browser/net/chrome_url_request_context.h"
|
| -#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -46,19 +44,9 @@
|
| iter->second->CleanupOnUIThread();
|
| }
|
|
|
| - io_data_->AddRef();
|
| - io_data_.release()->ShutdownOnUIThread();
|
| + io_data_->ShutdownOnUIThread();
|
| }
|
|
|
| -base::Callback<ChromeURLDataManagerBackend*(void)>
|
| -OffTheRecordProfileIOData::Handle::
|
| -GetChromeURLDataManagerBackendGetter() const {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - LazyInitialize();
|
| - return base::Bind(&ProfileIOData::GetChromeURLDataManagerBackend,
|
| - base::Unretained(io_data_.get()));
|
| -}
|
| -
|
| const content::ResourceContext&
|
| OffTheRecordProfileIOData::Handle::GetResourceContext() const {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|