| Index: chrome/browser/autocomplete/autocomplete_unittest.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc
|
| index 6a66e98b51e5663172f13d390bec9029b5c4c2b3..a4e1d4b810559c6ce1483d1be01364957e8acf4b 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_unittest.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_unittest.cc
|
| @@ -14,6 +14,12 @@
|
| #define HISTORY_IDENTIFIER L"Chrome:History"
|
| #define SEARCH_IDENTIFIER L"google.com/websearch/en"
|
|
|
| +std::ostream& operator<<(std::ostream& os,
|
| + const AutocompleteResult::const_iterator& iter) {
|
| + return os << static_cast<const AutocompleteMatch*>(&(*iter));
|
| +}
|
| +
|
| +
|
| namespace {
|
|
|
| const size_t num_results_per_provider = 3;
|
| @@ -168,11 +174,6 @@ void AutocompleteProviderTest::Observe(NotificationType type,
|
| }
|
| }
|
|
|
| -std::ostream& operator<<(std::ostream& os,
|
| - const AutocompleteResult::const_iterator& iter) {
|
| - return os << static_cast<const AutocompleteMatch*>(&(*iter));
|
| -}
|
| -
|
| // Tests that the default selection is set properly when updating results.
|
| TEST_F(AutocompleteProviderTest, Query) {
|
| RunTest();
|
|
|