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

Unified Diff: chrome/browser/plugin_installer_observer.h

Issue 10933044: Move chrome/browser/plugin_* to chrome/browser/plugins/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_plugin_group
Patch Set: . Created 8 years, 3 months 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.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
deleted file mode 100644
index e63dee8709ba9fd06f195968956f64761c257723..0000000000000000000000000000000000000000
--- a/chrome/browser/plugin_installer_observer.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
-#define CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
-
-#include <string>
-
-class PluginInstaller;
-
-class PluginInstallerObserver {
- public:
- explicit PluginInstallerObserver(PluginInstaller* installer);
- virtual ~PluginInstallerObserver();
-
- protected:
- PluginInstaller* installer() const { return installer_; }
-
- private:
- friend class PluginInstaller;
-
- virtual void DownloadStarted();
- virtual void DownloadFinished();
- virtual void DownloadError(const std::string& message);
- virtual void DownloadCancelled();
-
- // Weak pointer; Owned by PluginFinder, which is a singleton.
- PluginInstaller* installer_;
-};
-
-// A WeakPluginInstallerObserver is like a weak pointer to the installer, in the
-// sense that if only weak observers are left, we don't need to show
-// installation UI anymore.
-class WeakPluginInstallerObserver : public PluginInstallerObserver {
- public:
- explicit WeakPluginInstallerObserver(PluginInstaller* installer);
- virtual ~WeakPluginInstallerObserver();
-
- private:
- friend class PluginInstaller;
-
- virtual void OnlyWeakObserversLeft();
-};
-
-#endif // CHROME_BROWSER_PLUGIN_INSTALLER_OBSERVER_H_
« no previous file with comments | « chrome/browser/plugin_installer.cc ('k') | chrome/browser/plugin_installer_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698