| Index: content/common/external_ipc_dumper.cc
|
| diff --git a/chrome/common/external_ipc_dumper.cc b/content/common/external_ipc_dumper.cc
|
| similarity index 94%
|
| rename from chrome/common/external_ipc_dumper.cc
|
| rename to content/common/external_ipc_dumper.cc
|
| index 4e0d671be7260ed75483b0b4f9aafe58981f2a66..907ebfd9c52d76e6b540e9032e49cdec12ff8077 100644
|
| --- a/chrome/common/external_ipc_dumper.cc
|
| +++ b/content/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/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
|
|
|