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

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

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_tab_helper.cc ('k') | chrome/browser/defaults.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) 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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 #endif 804 #endif
805 host->AddFilter(new SearchProviderInstallStateMessageFilter(id, profile)); 805 host->AddFilter(new SearchProviderInstallStateMessageFilter(id, profile));
806 #if defined(ENABLE_SPELLCHECK) 806 #if defined(ENABLE_SPELLCHECK)
807 host->AddFilter(new SpellCheckMessageFilter(id)); 807 host->AddFilter(new SpellCheckMessageFilter(id));
808 #endif 808 #endif
809 #if defined(OS_MACOSX) 809 #if defined(OS_MACOSX)
810 host->AddFilter(new SpellCheckMessageFilterMac(id)); 810 host->AddFilter(new SpellCheckMessageFilterMac(id));
811 #endif 811 #endif
812 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context)); 812 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context));
813 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile)); 813 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile));
814 host->AddFilter(new TtsMessageFilter(id, host->GetBrowserContext())); 814 host->AddFilter(new TtsMessageFilter(host->GetBrowserContext()));
815 #if defined(ENABLE_WEBRTC) 815 #if defined(ENABLE_WEBRTC)
816 WebRtcLoggingHandlerHost* webrtc_logging_handler_host = 816 WebRtcLoggingHandlerHost* webrtc_logging_handler_host =
817 new WebRtcLoggingHandlerHost(profile); 817 new WebRtcLoggingHandlerHost(profile);
818 host->SetWebRtcLogMessageCallback(base::Bind( 818 host->SetWebRtcLogMessageCallback(base::Bind(
819 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host)); 819 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host));
820 host->AddFilter(webrtc_logging_handler_host); 820 host->AddFilter(webrtc_logging_handler_host);
821 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>( 821 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
822 webrtc_logging_handler_host)); 822 webrtc_logging_handler_host));
823 #endif 823 #endif
824 #if !defined(DISABLE_NACL) 824 #if !defined(DISABLE_NACL)
(...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after
2414 switches::kDisableWebRtcEncryption, 2414 switches::kDisableWebRtcEncryption,
2415 }; 2415 };
2416 to_command_line->CopySwitchesFrom(from_command_line, 2416 to_command_line->CopySwitchesFrom(from_command_line,
2417 kWebRtcDevSwitchNames, 2417 kWebRtcDevSwitchNames,
2418 arraysize(kWebRtcDevSwitchNames)); 2418 arraysize(kWebRtcDevSwitchNames));
2419 } 2419 }
2420 } 2420 }
2421 #endif // defined(ENABLE_WEBRTC) 2421 #endif // defined(ENABLE_WEBRTC)
2422 2422
2423 } // namespace chrome 2423 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_tab_helper.cc ('k') | chrome/browser/defaults.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698