Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
|
Nico
2015/06/23 16:57:07
Likewise
| |
| 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 #include "chrome/browser/autocomplete/builtin_provider.h" | 5 #include "components/omnibox/builtin_provider.h" |
| 6 | 6 |
| 7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
| 8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" | 10 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" |
| 11 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 11 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |
| 12 #include "chrome/common/url_constants.h" | 12 #include "chrome/common/url_constants.h" |
| 13 #include "chrome/test/base/testing_profile.h" | 13 #include "chrome/test/base/testing_profile.h" |
| 14 #include "components/metrics/proto/omnibox_event.pb.h" | 14 #include "components/metrics/proto/omnibox_event.pb.h" |
| 15 #include "components/omnibox/autocomplete_input.h" | 15 #include "components/omnibox/autocomplete_input.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 325 {kSettings + kPage1.substr(0, 1), 2, {kURL1, kURL2}}, | 325 {kSettings + kPage1.substr(0, 1), 2, {kURL1, kURL2}}, |
| 326 {kSettings + kPage1.substr(0, 2), 1, {kURL1}}, | 326 {kSettings + kPage1.substr(0, 2), 1, {kURL1}}, |
| 327 {kSettings + kPage1.substr(0, kPage1.length() - 1), 1, {kURL1}}, | 327 {kSettings + kPage1.substr(0, kPage1.length() - 1), 1, {kURL1}}, |
| 328 {kSettings + kPage1, 1, {kURL1}}, | 328 {kSettings + kPage1, 1, {kURL1}}, |
| 329 {kSettings + kPage2, 1, {kURL2}}, | 329 {kSettings + kPage2, 1, {kURL2}}, |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 RunTest(settings_subpage_cases, arraysize(settings_subpage_cases)); | 332 RunTest(settings_subpage_cases, arraysize(settings_subpage_cases)); |
| 333 } | 333 } |
| 334 #endif | 334 #endif |
| OLD | NEW |