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

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

Issue 22698002: Omnibox: Allow Bundled Omnibox Field Trial to Examine Instant Extended (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests broken after rebase 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/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 7bfd2d83eeac28cf166be11879a0180206cc7405..bb1cc4db4047b723831df0d4d9a5e46ea42daeb5 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -148,14 +148,13 @@ class OmniboxFieldTrial {
// prevent search history matches from inlining.
//
// This function returns the value associated with the |rule| that applies
- // in the current context (which currently only consists of
- // |page_classification| but will soon contain other features, some not
- // passed in as parameters, such as whether Instant Extended is enabled).
- // If no such rule exists in the current context, looks for that rule in
- // the global context and return its value if found. If the rule remains
- // unfound in the global context, returns the empty string. For more
- // details, see the implementation. How to interpret the value is left
- // to the caller; this is rule-dependent.
+ // in the current context (which currently consists of |page_classification|
+ // and whether Instant Extended is enabled). If no such rule exists in the
+ // current context, backoff to the rule in various wildcard contexts and
Peter Kasting 2013/08/09 20:45:45 Nit; backoff to the rule -> fall back to any rules
Mark P 2013/08/09 21:55:01 Changed backoff to fall back. Left the singular r
+ // return its value if found. If the rule remains unfound in the global
+ // context, returns the empty string. For more details, see the
Peter Kasting 2013/08/09 20:45:45 Nit: Perhaps "For more details, including how we p
Mark P 2013/08/09 21:55:01 Done.
+ // implementation. How to interpret the value is left to the caller; this
+ // is rule-dependent.
static std::string GetValueForRuleInContext(
const std::string& rule,
AutocompleteInput::PageClassification page_classification);

Powered by Google App Engine
This is Rietveld 408576698