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