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

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

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 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
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/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { 262 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() {
263 if (!download_dir_.IsValid()) { 263 if (!download_dir_.IsValid()) {
264 bool result = download_dir_.CreateUniqueTempDir(); 264 bool result = download_dir_.CreateUniqueTempDir();
265 CHECK(result); 265 CHECK(result);
266 } 266 }
267 return download_dir_.path(); 267 return download_dir_.path();
268 } 268 }
269 269
270 #if defined(OS_POSIX) && !defined(OS_MACOSX) 270 #if defined(OS_POSIX) && !defined(OS_MACOSX)
271 int MockContentBrowserClient::GetCrashSignalFD( 271 int MockContentBrowserClient::GetCrashSignalFD(
272 const std::string& process_type) { 272 const CommandLine& command_line) {
273 return -1; 273 return -1;
274 } 274 }
275 #endif 275 #endif
276 276
277 #if defined(OS_WIN) 277 #if defined(OS_WIN)
278 const wchar_t* MockContentBrowserClient::GetResourceDllName() { 278 const wchar_t* MockContentBrowserClient::GetResourceDllName() {
279 return NULL; 279 return NULL;
280 } 280 }
281 #endif 281 #endif
282 282
283 #if defined(USE_NSS) 283 #if defined(USE_NSS)
284 crypto::CryptoModuleBlockingPasswordDelegate* 284 crypto::CryptoModuleBlockingPasswordDelegate*
285 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 285 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
286 return NULL; 286 return NULL;
287 } 287 }
288 #endif 288 #endif
289 289
290 } // namespace content 290 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698