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

Unified Diff: chrome/common/extensions/api/metrics_private.json

Issue 22382006: Use experimentation framework parameters for location sensitivity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 7 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
Index: chrome/common/extensions/api/metrics_private.json
diff --git a/chrome/common/extensions/api/metrics_private.json b/chrome/common/extensions/api/metrics_private.json
index 627687c80d514a3bbeeae62e8d919d056710b0f1..06e52740a5b67d929dd903d90b79eca56769b35a 100644
--- a/chrome/common/extensions/api/metrics_private.json
+++ b/chrome/common/extensions/api/metrics_private.json
@@ -57,6 +57,26 @@
]
},
{
+ "name": "getVariationParams",
+ "description": "Returns variation parameters for the named trial if available, or undefined otherwise.",
+ "type": "function",
+ "parameters": [
+ {"name": "name", "type": "string"},
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": "false",
+ "parameters": [
+ {
+ "name": "params",
+ "type": "object",
+ "additionalProperties": { "type": "string" }
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "recordUserAction",
"type": "function",
"description": "Records an action performed by the user.",
« no previous file with comments | « chrome/browser/resources/google_now/background.js ('k') | chrome/test/data/extensions/api_test/metrics/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698