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

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

Issue 7619011: Simplify ExtensionMsg_Loaded_Params message interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index c7298670da1a399d868610699b11c5e4afa9815a..1287d44519e9d11d29daad9f9c57797b2f3ff517 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1385,8 +1385,7 @@ void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
Profile::FromBrowserContext(host->browser_context());
if (host_profile->GetOriginalProfile() == profile_->GetOriginalProfile()) {
host->Send(
- new ExtensionMsg_Loaded(ExtensionMsg_Loaded_Params(
- extension, extension->GetActivePermissions())));
+ new ExtensionMsg_Loaded(ExtensionMsg_Loaded_Params(extension)));
}
}
@@ -2446,8 +2445,7 @@ void ExtensionService::Observe(int type,
// Loaded extensions.
for (size_t i = 0; i < extensions_.size(); ++i) {
process->Send(new ExtensionMsg_Loaded(
- ExtensionMsg_Loaded_Params(
- extensions_[i], extensions_[i]->GetActivePermissions())));
+ ExtensionMsg_Loaded_Params(extensions_[i])));
}
break;
}
« no previous file with comments | « no previous file | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698