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

Unified Diff: extensions/common/manifest_handler.cc

Issue 2831183003: Fix loading success.html at the end of chrome://chrome-signin flow (Closed)
Patch Set: Created 3 years, 8 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 | « extensions/browser/url_request_util.cc ('k') | extensions/common/manifest_handlers/webview_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handler.cc
diff --git a/extensions/common/manifest_handler.cc b/extensions/common/manifest_handler.cc
index 24ab931e30da51b0163587a01ab8762849e2d4fa..d928459d293d8490ce80d9cda02f7a33e10d6c56 100644
--- a/extensions/common/manifest_handler.cc
+++ b/extensions/common/manifest_handler.cc
@@ -131,13 +131,19 @@ void ManifestHandlerRegistry::RegisterManifestHandler(
bool ManifestHandlerRegistry::ParseExtension(Extension* extension,
base::string16* error) {
+ LOG(ERROR) << "ParseExtension " << extension->id();
std::map<int, ManifestHandler*> handlers_by_priority;
for (ManifestHandlerMap::iterator iter = handlers_.begin();
iter != handlers_.end(); ++iter) {
ManifestHandler* handler = iter->second.get();
if (extension->manifest()->HasPath(iter->first) ||
handler->AlwaysParseForType(extension->GetType())) {
+ LOG(ERROR) << "ParseExtension " << extension->id() << " using handler "
+ << iter->first;
handlers_by_priority[priority_map_[handler]] = handler;
+ } else {
+ LOG(ERROR) << "ParseExtension " << extension->id() << " skip handler "
+ << iter->first;
}
}
for (std::map<int, ManifestHandler*>::iterator iter =
« no previous file with comments | « extensions/browser/url_request_util.cc ('k') | extensions/common/manifest_handlers/webview_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698