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

Unified Diff: chrome/browser/extensions/active_tab_permission_granter.cc

Issue 204703002: Rename NOTIFICATION_EXTENSION_UNLOADED to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maybe upload wont do something bizarre this time Created 6 years, 9 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/active_tab_permission_granter.cc
diff --git a/chrome/browser/extensions/active_tab_permission_granter.cc b/chrome/browser/extensions/active_tab_permission_granter.cc
index b3106db4e9c3815fab0a72978c375c07c630f13f..ecedd3458bd5e6bca93800f98879b9ee0fa16fa4 100644
--- a/chrome/browser/extensions/active_tab_permission_granter.cc
+++ b/chrome/browser/extensions/active_tab_permission_granter.cc
@@ -30,7 +30,7 @@ ActiveTabPermissionGranter::ActiveTabPermissionGranter(
content::WebContents* web_contents, int tab_id, Profile* profile)
: WebContentsObserver(web_contents), tab_id_(tab_id) {
registrar_.Add(this,
- chrome::NOTIFICATION_EXTENSION_UNLOADED,
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
content::Source<Profile>(profile));
}
@@ -94,7 +94,7 @@ void ActiveTabPermissionGranter::Observe(
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED);
+ DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
const Extension* extension =
content::Details<UnloadedExtensionInfo>(details)->extension;
// Note: don't need to clear the permissions (nor tell the renderer about it)

Powered by Google App Engine
This is Rietveld 408576698