| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index 7f42c5d3d19ff5dc6aae4feddc243c4658442f24..0ce839fd80c480addb3c3d814d13984d329ff3b1 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -30,6 +30,7 @@
|
| #include "chrome/browser/io_thread.h"
|
| #include "chrome/browser/media/chrome_midi_permission_context.h"
|
| #include "chrome/browser/media/chrome_midi_permission_context_factory.h"
|
| +#include "chrome/browser/net/cookie_store_util.h"
|
| #include "chrome/browser/net/pref_proxy_config_tracker.h"
|
| #include "chrome/browser/net/proxy_service_factory.h"
|
| #include "chrome/browser/plugins/chrome_plugin_service_filter.h"
|
| @@ -47,6 +48,7 @@
|
| #include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
|
| #include "components/user_prefs/user_prefs.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/cookie_store_factory.h"
|
| #include "content/public/browser/host_zoom_map.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/storage_partition.h"
|
| @@ -198,6 +200,15 @@ base::FilePath OffTheRecordProfileImpl::GetPath() const {
|
| return profile_->GetPath();
|
| }
|
|
|
| +content::CookieStoreConfig OffTheRecordProfileImpl::GetCookieStoreConfig() {
|
| + if (!cookie_delegate_) {
|
| + cookie_delegate_ = chrome_browser_net::CreateCookieDelegate(this);
|
| + }
|
| +
|
| + return content::CookieStoreConfig::InMemoryWithOptions(
|
| + GetExtensionSpecialStoragePolicy(), cookie_delegate_);
|
| +}
|
| +
|
| scoped_refptr<base::SequencedTaskRunner>
|
| OffTheRecordProfileImpl::GetIOTaskRunner() {
|
| return profile_->GetIOTaskRunner();
|
| @@ -302,11 +313,6 @@ void OffTheRecordProfileImpl::RequestMIDISysExPermission(
|
| }
|
|
|
| net::URLRequestContextGetter*
|
| - OffTheRecordProfileImpl::GetRequestContextForExtensions() {
|
| - return io_data_.GetExtensionsRequestContextGetter().get();
|
| -}
|
| -
|
| -net::URLRequestContextGetter*
|
| OffTheRecordProfileImpl::CreateRequestContextForStoragePartition(
|
| const base::FilePath& partition_path,
|
| bool in_memory,
|
|
|