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

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: rebased 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 3d12165b4444acea25bf3501513879685257f45c..67dec3579c3a09ad600ce75bbcc6722306d4477d 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
« no previous file with comments | « chrome/browser/android/most_visited_sites.cc ('k') | chrome/browser/search/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698