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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 15047014: Move child-common classes to content/common_child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_data_remover_impl.cc
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
index e1efc1f82b56e47e05ed8c54526b1d9bbfc345bf..de320b7d91e6a9bc56482d12ad9fe21c39beb016 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -16,7 +16,7 @@
#include "content/browser/plugin_service_impl.h"
#include "content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h"
#include "content/common/child_process_host_impl.h"
-#include "content/common/plugin_messages.h"
+#include "content/common/plugin_process_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/pepper_plugin_info.h"
@@ -177,7 +177,7 @@ class PluginDataRemoverImpl::Context
// IPC::Listener methods.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE {
IPC_BEGIN_MESSAGE_MAP(Context, message)
- IPC_MESSAGE_HANDLER(PluginHostMsg_ClearSiteDataResult,
+ IPC_MESSAGE_HANDLER(PluginProcessHostMsg_ClearSiteDataResult,
OnClearSiteDataResult)
IPC_MESSAGE_HANDLER(PpapiHostMsg_ClearSiteDataResult,
OnPpapiClearSiteDataResult)
@@ -243,7 +243,8 @@ class PluginDataRemoverImpl::Context
if (is_ppapi) {
msg = CreatePpapiClearSiteDataMsg(max_age);
} else {
- msg = new PluginMsg_ClearSiteData(std::string(), kClearAllData, max_age);
+ msg = new PluginProcessMsg_ClearSiteData(
+ std::string(), kClearAllData, max_age);
}
if (!channel_->Send(msg)) {
NOTREACHED() << "Couldn't send ClearSiteData message";
@@ -253,13 +254,13 @@ class PluginDataRemoverImpl::Context
}
// Handles the PpapiHostMsg_ClearSiteDataResult message by delegating to the
- // PluginHostMsg_ClearSiteDataResult handler.
+ // PluginProcessHostMsg_ClearSiteDataResult handler.
void OnPpapiClearSiteDataResult(uint32 request_id, bool success) {
DCHECK_EQ(0u, request_id);
OnClearSiteDataResult(success);
}
- // Handles the PluginHostMsg_ClearSiteDataResult message.
+ // Handles the PluginProcessHostMsg_ClearSiteDataResult message.
void OnClearSiteDataResult(bool success) {
LOG_IF(ERROR, !success) << "ClearSiteData returned error";
UMA_HISTOGRAM_TIMES("ClearPluginData.time",
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698