diff options
Diffstat (limited to 'chrome/browser/extensions/extension_service.cc')
-rw-r--r-- | chrome/browser/extensions/extension_service.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc index a69054e..422430f 100644 --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc @@ -1000,14 +1000,14 @@ void ExtensionService::GrantPermissions(const Extension* extension, // static void ExtensionService::RecordPermissionMessagesHistogram( const Extension* e, const char* histogram) { - // Since this is called from multiple sources, and since the Histogram macros - // use statics, we need to manually lookup the Histogram ourselves. - base::Histogram* counter = base::LinearHistogram::FactoryGet( + // Since this is called from multiple sources, and since the histogram macros + // use statics, we need to manually lookup the histogram ourselves. + base::HistogramBase* counter = base::LinearHistogram::FactoryGet( histogram, 1, PermissionMessage::kEnumBoundary, PermissionMessage::kEnumBoundary + 1, - base::Histogram::kUmaTargetedHistogramFlag); + base::HistogramBase::kUmaTargetedHistogramFlag); PermissionMessages permissions = e->GetPermissionMessages(); if (permissions.empty()) { |