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

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

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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) 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 #if !defined(OS_CHROMEOS) 175 #if !defined(OS_CHROMEOS)
176 #include "chrome/browser/signin/signin_manager.h" 176 #include "chrome/browser/signin/signin_manager.h"
177 #include "chrome/browser/signin/signin_manager_factory.h" 177 #include "chrome/browser/signin/signin_manager_factory.h"
178 #endif 178 #endif
179 179
180 #if !defined(OS_ANDROID) 180 #if !defined(OS_ANDROID)
181 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h" 181 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h"
182 #endif 182 #endif
183 183
184 #if defined(ENABLE_WEBRTC)
185 #include "chrome/browser/media/webrtc_logging_handler_host.h"
186 #endif
187
184 using base::FileDescriptor; 188 using base::FileDescriptor;
185 using content::AccessTokenStore; 189 using content::AccessTokenStore;
186 using content::BrowserChildProcessHostIterator; 190 using content::BrowserChildProcessHostIterator;
187 using content::BrowserThread; 191 using content::BrowserThread;
188 using content::BrowserURLHandler; 192 using content::BrowserURLHandler;
189 using content::ChildProcessSecurityPolicy; 193 using content::ChildProcessSecurityPolicy;
190 using content::FileDescriptorInfo; 194 using content::FileDescriptorInfo;
191 using content::QuotaPermissionContext; 195 using content::QuotaPermissionContext;
192 using content::RenderViewHost; 196 using content::RenderViewHost;
193 using content::SiteInstance; 197 using content::SiteInstance;
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id)); 725 host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id));
722 #if defined(OS_MACOSX) 726 #if defined(OS_MACOSX)
723 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id)); 727 host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id));
724 #endif 728 #endif
725 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter( 729 host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter(
726 id, profile, context)); 730 id, profile, context));
727 host->GetChannel()->AddFilter( 731 host->GetChannel()->AddFilter(
728 new prerender::PrerenderMessageFilter(id, profile)); 732 new prerender::PrerenderMessageFilter(id, profile));
729 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); 733 host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id));
730 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); 734 host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile));
735 #if defined(ENABLE_WEBRTC)
736 host->GetChannel()->AddFilter(new WebRtcLoggingHandlerHost());
737 #endif
731 738
732 host->Send(new ChromeViewMsg_SetIsIncognitoProcess( 739 host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
733 profile->IsOffTheRecord())); 740 profile->IsOffTheRecord()));
734 741
735 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled( 742 host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
736 IsExtensionActivityLogEnabledForProfile(profile))); 743 IsExtensionActivityLogEnabledForProfile(profile)));
737 744
738 SendExtensionWebRequestStatusToHost(host); 745 SendExtensionWebRequestStatusToHost(host);
739 746
740 RendererContentSettingRules rules; 747 RendererContentSettingRules rules;
(...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2325 #if defined(USE_NSS) 2332 #if defined(USE_NSS)
2326 crypto::CryptoModuleBlockingPasswordDelegate* 2333 crypto::CryptoModuleBlockingPasswordDelegate*
2327 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 2334 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
2328 const GURL& url) { 2335 const GURL& url) {
2329 return chrome::NewCryptoModuleBlockingDialogDelegate( 2336 return chrome::NewCryptoModuleBlockingDialogDelegate(
2330 chrome::kCryptoModulePasswordKeygen, url.host()); 2337 chrome::kCryptoModulePasswordKeygen, url.host());
2331 } 2338 }
2332 #endif 2339 #endif
2333 2340
2334 } // namespace chrome 2341 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_logging_handler_host.h » ('j') | chrome/browser/media/webrtc_logging_handler_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698