| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/net/chrome_url_request_context_getter.h" | 5 #include "chrome/browser/net/chrome_url_request_context_getter.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
| 15 #include "chrome/browser/io_thread.h" | 15 #include "chrome/browser/io_thread.h" |
| 16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 17 #include "chrome/browser/profiles/profile_io_data.h" | 17 #include "chrome/browser/profiles/profile_io_data.h" |
| 18 #include "chrome/browser/profiles/storage_partition_descriptor.h" | 18 #include "chrome/browser/profiles/storage_partition_descriptor.h" |
| 19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
| 20 #include "net/cookies/cookie_store.h" | 20 #include "net/cookies/cookie_store.h" |
| 21 | 21 |
| 22 using content::BrowserThread; | 22 using content::BrowserThread; |
| 23 | 23 |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 ChromeURLRequestContextGetter* | 257 ChromeURLRequestContextGetter* |
| 258 ChromeURLRequestContextGetter::CreateForIsolatedMedia( | 258 ChromeURLRequestContextGetter::CreateForIsolatedMedia( |
| 259 Profile* profile, | 259 Profile* profile, |
| 260 ChromeURLRequestContextGetter* app_context, | 260 ChromeURLRequestContextGetter* app_context, |
| 261 const ProfileIOData* profile_io_data, | 261 const ProfileIOData* profile_io_data, |
| 262 const StoragePartitionDescriptor& partition_descriptor) { | 262 const StoragePartitionDescriptor& partition_descriptor) { |
| 263 return new ChromeURLRequestContextGetter( | 263 return new ChromeURLRequestContextGetter( |
| 264 new FactoryForIsolatedMedia( | 264 new FactoryForIsolatedMedia( |
| 265 profile_io_data, partition_descriptor, app_context)); | 265 profile_io_data, partition_descriptor, app_context)); |
| 266 } | 266 } |
| OLD | NEW |