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

Unified Diff: chrome/browser/extensions/api/preference/preference_helpers.h

Issue 1236493004: Final batch adding real histogram values for extension events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android compile Created 5 years, 5 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/api/preference/preference_helpers.h
diff --git a/chrome/browser/extensions/api/preference/preference_helpers.h b/chrome/browser/extensions/api/preference/preference_helpers.h
index ba227af44a617d8f2c91a669ca97369148ae31bb..02d77ec07186a56574e52211a1732d5d841fc59e 100644
--- a/chrome/browser/extensions/api/preference/preference_helpers.h
+++ b/chrome/browser/extensions/api/preference/preference_helpers.h
@@ -7,6 +7,7 @@
#include <string>
+#include "extensions/browser/extension_event_histogram_value.h"
#include "extensions/browser/extension_prefs_scope.h"
#include "extensions/common/permissions/permission_set.h"
@@ -35,13 +36,13 @@ const char* GetLevelOfControl(
// key-value for the level of control the extension has over |browser_pref| is
// injected into the first item of |args|, which must be of type
// DictionaryValue.
-void DispatchEventToExtensions(
- Profile* profile,
- const std::string& event_name,
- base::ListValue* args,
- extensions::APIPermission::ID permission,
- bool incognito,
- const std::string& browser_pref);
+void DispatchEventToExtensions(Profile* profile,
+ events::HistogramValue histogram_value,
+ const std::string& event_name,
+ base::ListValue* args,
+ extensions::APIPermission::ID permission,
+ bool incognito,
+ const std::string& browser_pref);
} // namespace preference_helpers
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698