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

Unified Diff: chrome/browser/search/suggestions/suggestions_service.h

Issue 341943002: [Android NTP] Logging histograms for users that are part of a control group. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial 2 Created 6 years, 6 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/search/suggestions/suggestions_service.h
diff --git a/chrome/browser/search/suggestions/suggestions_service.h b/chrome/browser/search/suggestions/suggestions_service.h
index a23be99635c311d97b7618b670c843d3018a07f7..9ca2256507e3d3b5673d4fddfbb231b25a08702f 100644
--- a/chrome/browser/search/suggestions/suggestions_service.h
+++ b/chrome/browser/search/suggestions/suggestions_service.h
@@ -37,6 +37,7 @@ extern const char kSuggestionsFieldTrialURLParam[];
extern const char kSuggestionsFieldTrialSuggestionsSuffixParam[];
extern const char kSuggestionsFieldTrialBlacklistSuffixParam[];
extern const char kSuggestionsFieldTrialStateParam[];
+extern const char kSuggestionsFieldTrialControlParam[];
extern const char kSuggestionsFieldTrialStateEnabled[];
// An interface to fetch server suggestions asynchronously.
@@ -51,6 +52,9 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate {
// Whether this service is enabled.
static bool IsEnabled();
+ // Whether the user is part of a control group.
+ static bool IsControlGroup();
+
// Request suggestions data, which will be passed to |callback|. Initiates a
// fetch request unless a pending one exists. To prevent multiple requests,
// we place all |callback|s in a queue and update them simultaneously when

Powered by Google App Engine
This is Rietveld 408576698