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

Unified Diff: chrome/browser/automation/automation_provider_observers.h

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial commit. Created 9 years, 5 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
Index: chrome/browser/automation/automation_provider_observers.h
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h
index 5ff9bb7d79eba22d3aeb2e4eee0ca0dc1ddb614c..8721f662f85d55fbc9b79a863e643ada0d65e035 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -281,32 +281,6 @@ class TabCountChangeObserver : public TabStripModelObserver {
DISALLOW_COPY_AND_ASSIGN(TabCountChangeObserver);
};
-// Observes when an extension has finished installing or possible install
-// errors. This does not guarantee that the extension is ready for use.
-class ExtensionInstallNotificationObserver : public NotificationObserver {
- public:
- ExtensionInstallNotificationObserver(AutomationProvider* automation,
- int id,
- IPC::Message* reply_message);
- virtual ~ExtensionInstallNotificationObserver();
-
- // Implementation of NotificationObserver.
- virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
- private:
- // Send |response| back to the provider's client.
- void SendResponse(AutomationMsg_ExtensionResponseValues response);
-
- NotificationRegistrar registrar_;
- base::WeakPtr<AutomationProvider> automation_;
- int id_;
- scoped_ptr<IPC::Message> reply_message_;
-
- DISALLOW_COPY_AND_ASSIGN(ExtensionInstallNotificationObserver);
-};
-
// Observes when an extension has been uninstalled.
class ExtensionUninstallObserver : public NotificationObserver {
public:

Powered by Google App Engine
This is Rietveld 408576698