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

Unified Diff: chrome/common/extensions/sync_helper.cc

Issue 299853002: Make installed_loader UMA less wasteful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 7 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/common/extensions/sync_helper.cc
diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc
index 86457b88d004a49f1cf7a6eb70521eda92e41aa2..a0b33b35f6aea3f25a8673cf0cf6ea71ea60a34a 100644
--- a/chrome/common/extensions/sync_helper.cc
+++ b/chrome/common/extensions/sync_helper.cc
@@ -67,6 +67,9 @@ SyncType GetSyncType(const Extension* extension) {
case Manifest::TYPE_THEME:
case Manifest::TYPE_SHARED_MODULE:
return SYNC_TYPE_NONE;
+
+ case Manifest::NUM_LOAD_TYPES:
+ NOTREACHED();
}
NOTREACHED();
return SYNC_TYPE_NONE;

Powered by Google App Engine
This is Rietveld 408576698