| Index: content/public/common/external_ipc_dumper.cc
|
| diff --git a/chrome/common/external_ipc_dumper.cc b/content/public/common/external_ipc_dumper.cc
|
| similarity index 94%
|
| rename from chrome/common/external_ipc_dumper.cc
|
| rename to content/public/common/external_ipc_dumper.cc
|
| index 4e0d671be7260ed75483b0b4f9aafe58981f2a66..ff5ae934c987668047ea110d0755f8fa68fbd889 100644
|
| --- a/chrome/common/external_ipc_dumper.cc
|
| +++ b/content/public/common/external_ipc_dumper.cc
|
| @@ -7,7 +7,9 @@
|
| #include "base/native_library.h"
|
| #include "base/path_service.h"
|
| #include "build/build_config.h"
|
| -#include "chrome/common/external_ipc_dumper.h"
|
| +#include "content/public/common/external_ipc_dumper.h"
|
| +
|
| +namespace {
|
|
|
| typedef IPC::ChannelProxy::OutgoingMessageFilter* (*GetFilterFunction)();
|
| typedef void (*SetDumpDirectoryFunction)(const base::FilePath&);
|
| @@ -21,6 +23,10 @@ const char kSetDumpDirectoryEntryName[] = "SetDumpDirectory";
|
| #define IPC_MESSAGE_DUMP_MODULE FILE_PATH_LITERAL("libipc_message_dump.so")
|
| #endif
|
|
|
| +} // namespace
|
| +
|
| +namespace content {
|
| +
|
| IPC::ChannelProxy::OutgoingMessageFilter* LoadExternalIPCDumper(
|
| const base::FilePath& dump_directory) {
|
| base::FilePath module_path;
|
| @@ -59,3 +65,5 @@ IPC::ChannelProxy::OutgoingMessageFilter* LoadExternalIPCDumper(
|
|
|
| return filter_entry_point();
|
| }
|
| +
|
| +} // namespace content
|
|
|