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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2043933002: Move IPC fuzzer switches and helpers from chrome/common to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove CONTENT_EXPORT Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index db0b6c430f9658e0f099ab6ab1562e59eb2c360b..1b777400ab9e8b2b5714f9c909e9e8b85ab08800 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -127,10 +127,6 @@
#include "extensions/renderer/renderer_extension_registry.h"
#endif
-#if defined(ENABLE_IPC_FUZZER)
-#include "chrome/common/external_ipc_dumper.h"
-#endif
-
#if defined(ENABLE_PLUGINS)
#include "chrome/renderer/plugins/chrome_plugin_placeholder.h"
#include "chrome/renderer/plugins/power_saver_info.h"
@@ -407,16 +403,6 @@ void ChromeContentRendererClient::RenderThreadStarted() {
WebString::fromUTF8(chrome::kAndroidAppScheme));
#endif
-#if defined(ENABLE_IPC_FUZZER)
- if (command_line->HasSwitch(switches::kIpcDumpDirectory)) {
- base::FilePath dump_directory =
- command_line->GetSwitchValuePath(switches::kIpcDumpDirectory);
- IPC::ChannelProxy::OutgoingMessageFilter* filter =
- LoadExternalIPCDumper(dump_directory);
- thread->GetChannel()->set_outgoing_message_filter(filter);
- }
-#endif
-
// chrome-search: pages should not be accessible by bookmarklets
// or javascript: URLs typed in the omnibox.
WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs(
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698