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

Unified Diff: chrome/browser/plugin_installer_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_infobar_delegate.cc ('k') | chrome/browser/plugin_installer_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_installer_observer.h
diff --git a/chrome/browser/plugin_installer_observer.h b/chrome/browser/plugin_installer_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..7975998f888612cf7712b2c5e1c6e21c95e9302f
--- /dev/null
+++ b/chrome/browser/plugin_installer_observer.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
+#define CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
+#pragma once
+
+class PluginInstaller;
+
+class PluginInstallerObserver {
+ public:
+ explicit PluginInstallerObserver(PluginInstaller* installer);
+ virtual ~PluginInstallerObserver();
+
+ protected:
+ PluginInstaller* installer() { return installer_; }
+
+ private:
+ friend class PluginInstaller;
+
+ virtual void DidStartDownload();
+ virtual void DidFinishDownload();
+ virtual void DidFinishInstallation();
+
+ // Weak pointer; Owned by PluginFinder, which is a singleton.
+ PluginInstaller* installer_;
+};
+
+#endif // CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
« no previous file with comments | « chrome/browser/plugin_installer_infobar_delegate.cc ('k') | chrome/browser/plugin_installer_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698