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

Unified Diff: chrome/browser/extensions/state_store.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/extensions/state_store.cc
diff --git a/chrome/browser/extensions/state_store.cc b/chrome/browser/extensions/state_store.cc
index d9958272132371f1a3c10eb4e0c3a0bffd447d67..752e412c123a00b896db6b0a12b1838352ee895f 100644
--- a/chrome/browser/extensions/state_store.cc
+++ b/chrome/browser/extensions/state_store.cc
@@ -63,11 +63,8 @@ void StateStore::Observe(int type,
switch (type) {
case chrome::NOTIFICATION_EXTENSION_INSTALLED:
- extension_id = content::Details<const Extension>(details).ptr()->id();
- break;
case chrome::NOTIFICATION_EXTENSION_UNINSTALLED:
- extension_id =
- *content::Details<const std::string>(details).ptr();
+ extension_id = content::Details<const Extension>(details).ptr()->id();
break;
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698