summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_observer.cc
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 13:36:16 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 13:36:16 +0000
commit0dd9e8b49b66e291e283fafc64a43e26e3b1db34 (patch)
tree53c426e0b8c036cfdd77a2d63a02274fd6d9f846 /chrome/browser/plugin_installer_observer.cc
parentd01f631e7f5cdc9bb8bffa3f662cc586dd6515b1 (diff)
downloadchromium_src-0dd9e8b49b66e291e283fafc64a43e26e3b1db34.zip
chromium_src-0dd9e8b49b66e291e283fafc64a43e26e3b1db34.tar.gz
chromium_src-0dd9e8b49b66e291e283fafc64a43e26e3b1db34.tar.bz2
Directly download and open plug-in installer files.
TBR=arv@chromium.org BUG=62079 TEST=none Review URL: http://codereview.chromium.org/9070001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_installer_observer.cc')
-rw-r--r--chrome/browser/plugin_installer_observer.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/plugin_installer_observer.cc b/chrome/browser/plugin_installer_observer.cc
new file mode 100644
index 0000000..ed210ec
--- /dev/null
+++ b/chrome/browser/plugin_installer_observer.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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.
+
+#include "chrome/browser/plugin_installer_observer.h"
+
+#include "chrome/browser/plugin_installer.h"
+
+PluginInstallerObserver::PluginInstallerObserver(PluginInstaller* installer)
+ : installer_(installer) {
+ if (installer)
+ installer->AddObserver(this);
+}
+
+PluginInstallerObserver::~PluginInstallerObserver() {
+ if (installer_)
+ installer_->RemoveObserver(this);
+}
+
+void PluginInstallerObserver::DidStartDownload() {
+}
+
+void PluginInstallerObserver::DidFinishDownload() {
+}
+