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/public/test/test_browser_context.h" | 5 #include "content/public/test/test_browser_context.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/test/null_task_runner.h" | 8 #include "base/test/null_task_runner.h" |
9 #include "content/public/test/mock_resource_context.h" | 9 #include "content/public/test/mock_resource_context.h" |
10 #include "net/url_request/url_request_context.h" | 10 #include "net/url_request/url_request_context.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 GetResourceContext()->GetRequestContext()); | 75 GetResourceContext()->GetRequestContext()); |
76 } | 76 } |
77 return request_context_.get(); | 77 return request_context_.get(); |
78 } | 78 } |
79 | 79 |
80 net::URLRequestContextGetter* | 80 net::URLRequestContextGetter* |
81 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) { | 81 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) { |
82 return NULL; | 82 return NULL; |
83 } | 83 } |
84 | 84 |
85 | |
86 net::URLRequestContextGetter* | |
87 TestBrowserContext::GetRequestContextForStoragePartition( | |
88 const FilePath& partition_path, | |
89 bool in_memory) { | |
90 return NULL; | |
91 } | |
92 | |
93 net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() { | 85 net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() { |
94 return NULL; | 86 return NULL; |
95 } | 87 } |
96 | 88 |
97 net::URLRequestContextGetter* | 89 net::URLRequestContextGetter* |
98 TestBrowserContext::GetMediaRequestContextForRenderProcess( | 90 TestBrowserContext::GetMediaRequestContextForRenderProcess( |
99 int renderer_child_id) { | 91 int renderer_child_id) { |
100 return NULL; | 92 return NULL; |
101 } | 93 } |
102 | 94 |
(...skipping 18 matching lines...) Expand all Loading... |
121 SpeechRecognitionPreferences* | 113 SpeechRecognitionPreferences* |
122 TestBrowserContext::GetSpeechRecognitionPreferences() { | 114 TestBrowserContext::GetSpeechRecognitionPreferences() { |
123 return NULL; | 115 return NULL; |
124 } | 116 } |
125 | 117 |
126 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { | 118 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { |
127 return special_storage_policy_.get(); | 119 return special_storage_policy_.get(); |
128 } | 120 } |
129 | 121 |
130 } // namespace content | 122 } // namespace content |
OLD | NEW |