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

Unified Diff: chrome/browser/plugin_observer.h

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « chrome/browser/plugin_installer_observer.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_observer.h
diff --git a/chrome/browser/plugin_observer.h b/chrome/browser/plugin_observer.h
index 2612e5293137445c84d5fb9c3a789ccc89a0e170..26fb93a920dec96aeb207a2e767f75151ab1efa8 100644
--- a/chrome/browser/plugin_observer.h
+++ b/chrome/browser/plugin_observer.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_PLUGIN_OBSERVER_H_
#pragma once
+#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "content/browser/tab_contents/tab_contents_observer.h"
@@ -23,6 +24,8 @@ class PluginObserver : public TabContentsObserver {
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
private:
+ class MissingPluginHost;
+
void OnBlockedOutdatedPlugin(const string16& name, const GURL& update_url);
void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type);
@@ -37,6 +40,8 @@ class PluginObserver : public TabContentsObserver {
TabContentsWrapper* tab_contents_;
+ ScopedVector<MissingPluginHost> missing_plugins_;
+
DISALLOW_COPY_AND_ASSIGN(PluginObserver);
};
« no previous file with comments | « chrome/browser/plugin_installer_observer.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698