Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 7745048: Allow content to get the system request context, a request context not tied to any profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/browser/webui/empty_web_ui_factory.h" 10 #include "content/browser/webui/empty_web_ui_factory.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { 245 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() {
246 return FilePath(); 246 return FilePath();
247 } 247 }
248 248
249 net::URLRequestContextGetter* 249 net::URLRequestContextGetter*
250 MockContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() { 250 MockContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() {
251 return NULL; 251 return NULL;
252 } 252 }
253 253
254 net::URLRequestContextGetter*
255 MockContentBrowserClient::GetSystemRequestContext() {
256 return NULL;
257 }
258
254 #if defined(OS_POSIX) && !defined(OS_MACOSX) 259 #if defined(OS_POSIX) && !defined(OS_MACOSX)
255 int MockContentBrowserClient::GetCrashSignalFD( 260 int MockContentBrowserClient::GetCrashSignalFD(
256 const std::string& process_type) { 261 const std::string& process_type) {
257 return -1; 262 return -1;
258 } 263 }
259 #endif 264 #endif
260 265
261 #if defined(OS_WIN) 266 #if defined(OS_WIN)
262 const wchar_t* MockContentBrowserClient::GetResourceDllName() { 267 const wchar_t* MockContentBrowserClient::GetResourceDllName() {
263 return NULL; 268 return NULL;
264 } 269 }
265 #endif 270 #endif
266 271
267 #if defined(USE_NSS) 272 #if defined(USE_NSS)
268 crypto::CryptoModuleBlockingPasswordDelegate* 273 crypto::CryptoModuleBlockingPasswordDelegate*
269 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 274 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
270 return NULL; 275 return NULL;
271 } 276 }
272 #endif 277 #endif
273 278
274 } // namespace content 279 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698