OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ | 5 #ifndef COMPONENTS_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ |
6 #define CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ | 6 #define COMPONENTS_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "components/metrics/proto/omnibox_event.pb.h" | 14 #include "components/metrics/proto/omnibox_event.pb.h" |
15 #include "components/omnibox/autocomplete_match_type.h" | 15 #include "components/omnibox/autocomplete_match_type.h" |
16 | 16 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // context, returns the empty string. For more details, including how we | 337 // context, returns the empty string. For more details, including how we |
338 // prioritize different wildcard contexts, see the implementation. How to | 338 // prioritize different wildcard contexts, see the implementation. How to |
339 // interpret the value is left to the caller; this is rule-dependent. | 339 // interpret the value is left to the caller; this is rule-dependent. |
340 static std::string GetValueForRuleInContext( | 340 static std::string GetValueForRuleInContext( |
341 const std::string& rule, | 341 const std::string& rule, |
342 metrics::OmniboxEventProto::PageClassification page_classification); | 342 metrics::OmniboxEventProto::PageClassification page_classification); |
343 | 343 |
344 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial); | 344 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial); |
345 }; | 345 }; |
346 | 346 |
347 #endif // CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ | 347 #endif // COMPONENTS_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ |
OLD | NEW |