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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 7711010: Removal of Profile from content part 9 of 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing mock 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 | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/profiles/profile.h » ('j') | 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 "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/app/breakpad_mac.h" 8 #include "chrome/app/breakpad_mac.h"
9 #include "chrome/browser/browser_about_handler.h" 9 #include "chrome/browser/browser_about_handler.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 base::Time()); 695 base::Time());
696 int remove_mask = BrowsingDataRemover::REMOVE_COOKIES; 696 int remove_mask = BrowsingDataRemover::REMOVE_COOKIES;
697 remover->Remove(remove_mask); 697 remover->Remove(remove_mask);
698 // BrowsingDataRemover takes care of deleting itself when done. 698 // BrowsingDataRemover takes care of deleting itself when done.
699 } 699 }
700 700
701 FilePath ChromeContentBrowserClient::GetDefaultDownloadDirectory() { 701 FilePath ChromeContentBrowserClient::GetDefaultDownloadDirectory() {
702 return download_util::GetDefaultDownloadDirectory(); 702 return download_util::GetDefaultDownloadDirectory();
703 } 703 }
704 704
705 net::URLRequestContextGetter*
706 ChromeContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() {
707 return Profile::Deprecated::GetDefaultRequestContext();
708 }
709
705 #if defined(OS_LINUX) 710 #if defined(OS_LINUX)
706 int ChromeContentBrowserClient::GetCrashSignalFD( 711 int ChromeContentBrowserClient::GetCrashSignalFD(
707 const std::string& process_type) { 712 const std::string& process_type) {
708 if (process_type == switches::kRendererProcess) 713 if (process_type == switches::kRendererProcess)
709 return RendererCrashHandlerHostLinux::GetInstance()->GetDeathSignalSocket(); 714 return RendererCrashHandlerHostLinux::GetInstance()->GetDeathSignalSocket();
710 715
711 if (process_type == switches::kExtensionProcess) { 716 if (process_type == switches::kExtensionProcess) {
712 ExtensionCrashHandlerHostLinux* crash_handler = 717 ExtensionCrashHandlerHostLinux* crash_handler =
713 ExtensionCrashHandlerHostLinux::GetInstance(); 718 ExtensionCrashHandlerHostLinux::GetInstance();
714 return crash_handler->GetDeathSignalSocket(); 719 return crash_handler->GetDeathSignalSocket();
(...skipping 15 matching lines...) Expand all
730 #if defined(USE_NSS) 735 #if defined(USE_NSS)
731 crypto::CryptoModuleBlockingPasswordDelegate* 736 crypto::CryptoModuleBlockingPasswordDelegate*
732 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 737 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
733 const GURL& url) { 738 const GURL& url) {
734 return browser::NewCryptoModuleBlockingDialogDelegate( 739 return browser::NewCryptoModuleBlockingDialogDelegate(
735 browser::kCryptoModulePasswordKeygen, url.host()); 740 browser::kCryptoModulePasswordKeygen, url.host());
736 } 741 }
737 #endif 742 #endif
738 743
739 } // namespace chrome 744 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698