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

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

Issue 10694056: CPM Extension Uninstall Watching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Requested changes made Created 8 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.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 5ea90fce8f906c69b29e89c919c9cddf272999d3..52a2b9411e605d137b1e5ed22ba260cba94ca443 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -544,7 +544,7 @@ void ExtensionUninstallObserver::Observe(
switch (type) {
case chrome::NOTIFICATION_EXTENSION_UNINSTALLED: {
- if (id_ == *content::Details<const std::string>(details).ptr()) {
+ if (id_ == content::Details<extensions::Extension>(details).ptr()->id()) {
scoped_ptr<DictionaryValue> return_value(new DictionaryValue);
return_value->SetBoolean("success", true);
AutomationJSONReply(automation_, reply_message_.release())
« no previous file with comments | « no previous file | chrome/browser/background/background_contents_service.cc » ('j') | chrome/common/chrome_notification_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698