OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/resource_context_impl.h" | 5 #include "content/browser/resource_context_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "content/browser/fileapi/chrome_blob_storage_context.h" | 12 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
13 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 13 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
14 #include "content/browser/loader/resource_request_info_impl.h" | 14 #include "content/browser/loader/resource_request_info_impl.h" |
15 #include "content/browser/streams/stream_context.h" | 15 #include "content/browser/streams/stream_context.h" |
16 #include "content/browser/webui/url_data_manager_backend.h" | 16 #include "content/browser/webui/url_data_manager_backend.h" |
17 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
19 #include "net/base/keygen_handler.h" | 19 #include "net/base/keygen_handler.h" |
20 #include "net/ssl/client_cert_store.h" | 20 #include "net/ssl/client_cert_store.h" |
21 | 21 |
22 using base::UserDataAdapter; | 22 using base::UserDataAdapter; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 resource_context->SetUserData( | 112 resource_context->SetUserData( |
113 kStreamContextKeyName, | 113 kStreamContextKeyName, |
114 new UserDataAdapter<StreamContext>( | 114 new UserDataAdapter<StreamContext>( |
115 StreamContext::GetFor(browser_context))); | 115 StreamContext::GetFor(browser_context))); |
116 | 116 |
117 resource_context->DetachUserDataThread(); | 117 resource_context->DetachUserDataThread(); |
118 } | 118 } |
119 | 119 |
120 } // namespace content | 120 } // namespace content |
OLD | NEW |