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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.h

Issue 13940005: Clean up the unused Suggest field trial and make GetActiveSuggestFieldTrialHash (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 7 years, 8 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/omnibox/omnibox_field_trial.h
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h
index 0371c3b1d9a541a9b34d65f650845c2fb17fe293..480c527826c2468b5378ae9f21a2c4301d359d1a 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_
#include <string>
+#include <vector>
#include "base/basictypes.h"
@@ -48,10 +49,10 @@ class OmniboxFieldTrial {
// ---------------------------------------------------------
// For the suggest field trial.
- // Fills in |field_trial_hash| with a hash of the active suggest field trial
- // name, if any. Returns true if the suggest field trial was active and
- // |field_trial_hash| was initialized.
- static bool GetActiveSuggestFieldTrialHash(uint32* field_trial_hash);
+ // Populates |field_trial_hash| with hashes of the active suggest field trial
+ // names, if any. Returns true if there was at least one active trial.
+ static bool GetActiveSuggestFieldTrialHashes(
+ std::vector<uint32>* field_trial_hash);
// ---------------------------------------------------------
// For the History Quick Provider new scoring field trial.

Powered by Google App Engine
This is Rietveld 408576698