summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_observer.cc
blob: 72284c713c39dda4fa9dd29191218fcf204a3874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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() {
}

void PluginInstallerObserver::DownloadError(const std::string& message) {
}