diff options
Diffstat (limited to 'chrome/browser/automation/automation_provider_observers.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider_observers.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc index 95b103d..0323870 100644 --- a/chrome/browser/automation/automation_provider_observers.cc +++ b/chrome/browser/automation/automation_provider_observers.cc @@ -598,24 +598,20 @@ void ExtensionReadyNotificationObserver::Observe( return; } - bool success = false; switch (type.value) { case NotificationType::EXTENSION_HOST_DID_STOP_LOADING: // Only continue on with this method if our extension has been loaded // and all the extension hosts have stopped loading. if (!extension_ || !DidExtensionHostsStopLoading(manager_)) return; - success = true; break; case NotificationType::EXTENSION_LOADED: extension_ = Details<const Extension>(details).ptr(); if (!DidExtensionHostsStopLoading(manager_)) return; - success = true; break; case NotificationType::EXTENSION_INSTALL_ERROR: case NotificationType::EXTENSION_UPDATE_DISABLED: - success = false; break; default: NOTREACHED(); |