| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| ===================================================================
|
| --- chrome/renderer/chrome_content_renderer_client.cc (revision 101031)
|
| +++ chrome/renderer/chrome_content_renderer_client.cc (working copy)
|
| @@ -28,6 +28,7 @@
|
| #include "chrome/renderer/autofill/password_autofill_manager.h"
|
| #include "chrome/renderer/automation/automation_renderer_helper.h"
|
| #include "chrome/renderer/automation/dom_automation_v8_extension.h"
|
| +#include "chrome/renderer/benchmarking_extension.h"
|
| #include "chrome/renderer/blocked_plugin.h"
|
| #include "chrome/renderer/chrome_ppapi_interfaces.h"
|
| #include "chrome/renderer/chrome_render_process_observer.h"
|
| @@ -188,6 +189,10 @@
|
| }
|
|
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableBenchmarking))
|
| + thread->RegisterExtension(extensions_v8::BenchmarkingExtension::Get());
|
| +
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableIPCFuzzing)) {
|
| thread->channel()->set_outgoing_message_filter(LoadExternalIPCFuzzer());
|
| }
|
|
|