summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/plugin_data_remover.cc8
-rw-r--r--chrome/browser/plugin_data_remover.h17
2 files changed, 15 insertions, 10 deletions
diff --git a/chrome/browser/plugin_data_remover.cc b/chrome/browser/plugin_data_remover.cc
index 5b06586..e33a00c 100644
--- a/chrome/browser/plugin_data_remover.cc
+++ b/chrome/browser/plugin_data_remover.cc
@@ -24,9 +24,9 @@
namespace {
-const char* kFlashMimeType = "application/x-shockwave-flash";
+const char kFlashMimeType[] = "application/x-shockwave-flash";
// The minimum Flash Player version that implements NPP_ClearSiteData.
-const char* kMinFlashVersion = "10.3";
+const char kMinFlashVersion[] = "10.3";
const int64 kRemovalTimeoutMs = 10000;
const uint64 kClearAllData = 0;
@@ -97,6 +97,10 @@ void PluginDataRemover::SetPluginInfo(
const webkit::WebPluginInfo& info) {
}
+void PluginDataRemover::OnFoundPluginProcessHost(
+ PluginProcessHost* host) {
+}
+
void PluginDataRemover::OnChannelOpened(const IPC::ChannelHandle& handle) {
ConnectToChannel(handle);
// Balancing the AddRef call in StartRemoving.
diff --git a/chrome/browser/plugin_data_remover.h b/chrome/browser/plugin_data_remover.h
index 9ff4235..c97a191 100644
--- a/chrome/browser/plugin_data_remover.h
+++ b/chrome/browser/plugin_data_remover.h
@@ -47,16 +47,17 @@ class PluginDataRemover : public base::RefCountedThreadSafe<PluginDataRemover>,
void Wait();
// PluginProcessHost::Client methods.
- virtual int ID();
- virtual bool OffTheRecord();
- virtual const content::ResourceContext& GetResourceContext();
- virtual void SetPluginInfo(const webkit::WebPluginInfo& info);
- virtual void OnChannelOpened(const IPC::ChannelHandle& handle);
- virtual void OnError();
+ virtual int ID() OVERRIDE;
+ virtual bool OffTheRecord() OVERRIDE;
+ virtual const content::ResourceContext& GetResourceContext() OVERRIDE;
+ virtual void SetPluginInfo(const webkit::WebPluginInfo& info) OVERRIDE;
+ virtual void OnFoundPluginProcessHost(PluginProcessHost* host) OVERRIDE;
+ virtual void OnChannelOpened(const IPC::ChannelHandle& handle) OVERRIDE;
+ virtual void OnError() OVERRIDE;
// IPC::Channel::Listener methods.
- virtual bool OnMessageReceived(const IPC::Message& message);
- virtual void OnChannelError();
+ virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ virtual void OnChannelError() OVERRIDE;
private:
friend class base::RefCountedThreadSafe<PluginDataRemover>;