| 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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 10 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 11 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/io_thread.h" | 13 #include "chrome/browser/io_thread.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/profiles/profile_io_data.h" | 15 #include "chrome/browser/profiles/profile_io_data.h" |
| 15 #include "chrome/browser/profiles/storage_partition_descriptor.h" | 16 #include "chrome/browser/profiles/storage_partition_descriptor.h" |
| 16 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 17 #include "net/cookies/cookie_store.h" | 18 #include "net/cookies/cookie_store.h" |
| 18 | 19 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 ChromeURLRequestContextGetter* | 259 ChromeURLRequestContextGetter* |
| 259 ChromeURLRequestContextGetter::CreateForIsolatedMedia( | 260 ChromeURLRequestContextGetter::CreateForIsolatedMedia( |
| 260 Profile* profile, | 261 Profile* profile, |
| 261 ChromeURLRequestContextGetter* app_context, | 262 ChromeURLRequestContextGetter* app_context, |
| 262 const ProfileIOData* profile_io_data, | 263 const ProfileIOData* profile_io_data, |
| 263 const StoragePartitionDescriptor& partition_descriptor) { | 264 const StoragePartitionDescriptor& partition_descriptor) { |
| 264 return new ChromeURLRequestContextGetter( | 265 return new ChromeURLRequestContextGetter( |
| 265 new FactoryForIsolatedMedia( | 266 new FactoryForIsolatedMedia( |
| 266 profile_io_data, partition_descriptor, app_context)); | 267 profile_io_data, partition_descriptor, app_context)); |
| 267 } | 268 } |
| OLD | NEW |