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/base64.h" | 9 #include "base/base64.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 resource_context->SetUserData( | 90 resource_context->SetUserData( |
91 kBlobStorageContextKeyName, | 91 kBlobStorageContextKeyName, |
92 new UserDataAdapter<ChromeBlobStorageContext>( | 92 new UserDataAdapter<ChromeBlobStorageContext>( |
93 ChromeBlobStorageContext::GetFor(browser_context))); | 93 ChromeBlobStorageContext::GetFor(browser_context))); |
94 | 94 |
95 resource_context->SetUserData( | 95 resource_context->SetUserData( |
96 kStreamContextKeyName, | 96 kStreamContextKeyName, |
97 new UserDataAdapter<StreamContext>( | 97 new UserDataAdapter<StreamContext>( |
98 StreamContext::GetFor(browser_context))); | 98 StreamContext::GetFor(browser_context))); |
99 | 99 |
100 resource_context->DetachUserDataThread(); | 100 resource_context->DetachFromSequence(); |
101 } | 101 } |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
OLD | NEW |