| 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 "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter( | 760 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter( |
| 761 id, profile, context)); | 761 id, profile, context)); |
| 762 host->GetChannel()->AddFilter( | 762 host->GetChannel()->AddFilter( |
| 763 new prerender::PrerenderMessageFilter(id, profile)); | 763 new prerender::PrerenderMessageFilter(id, profile)); |
| 764 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); | 764 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); |
| 765 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); | 765 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); |
| 766 #if defined(ENABLE_WEBRTC) | 766 #if defined(ENABLE_WEBRTC) |
| 767 host->GetChannel()->AddFilter(new WebRtcLoggingHandlerHost()); | 767 host->GetChannel()->AddFilter(new WebRtcLoggingHandlerHost()); |
| 768 #endif | 768 #endif |
| 769 #if !defined(DISABLE_NACL) | 769 #if !defined(DISABLE_NACL) |
| 770 host->GetChannel()->AddFilter(new NaClHostMessageFilter(id, profile, | 770 ExtensionInfoMap* extension_info_map = |
| 771 context)); | 771 extensions::ExtensionSystem::Get(profile)->info_map(); |
| 772 host->GetChannel()->AddFilter(new NaClHostMessageFilter( |
| 773 id, profile->IsOffTheRecord(), |
| 774 profile->GetPath(), extension_info_map, |
| 775 context)); |
| 772 #endif | 776 #endif |
| 773 | 777 |
| 774 host->Send(new ChromeViewMsg_SetIsIncognitoProcess( | 778 host->Send(new ChromeViewMsg_SetIsIncognitoProcess( |
| 775 profile->IsOffTheRecord())); | 779 profile->IsOffTheRecord())); |
| 776 | 780 |
| 777 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled( | 781 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled( |
| 778 IsExtensionActivityLogEnabledForProfile(profile))); | 782 IsExtensionActivityLogEnabledForProfile(profile))); |
| 779 | 783 |
| 780 SendExtensionWebRequestStatusToHost(host); | 784 SendExtensionWebRequestStatusToHost(host); |
| 781 | 785 |
| (...skipping 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2365 #if defined(USE_NSS) | 2369 #if defined(USE_NSS) |
| 2366 crypto::CryptoModuleBlockingPasswordDelegate* | 2370 crypto::CryptoModuleBlockingPasswordDelegate* |
| 2367 ChromeContentBrowserClient::GetCryptoPasswordDelegate( | 2371 ChromeContentBrowserClient::GetCryptoPasswordDelegate( |
| 2368 const GURL& url) { | 2372 const GURL& url) { |
| 2369 return chrome::NewCryptoModuleBlockingDialogDelegate( | 2373 return chrome::NewCryptoModuleBlockingDialogDelegate( |
| 2370 chrome::kCryptoModulePasswordKeygen, url.host()); | 2374 chrome::kCryptoModulePasswordKeygen, url.host()); |
| 2371 } | 2375 } |
| 2372 #endif | 2376 #endif |
| 2373 | 2377 |
| 2374 } // namespace chrome | 2378 } // namespace chrome |
| OLD | NEW |