Index: chrome/browser/autocomplete/autocomplete_unittest.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc |
index c1bb7581bd63c3367c753983f668deed69279df1..b396955cdb5c0299d69e7ac6cf92362755670f79 100644 |
--- a/chrome/browser/autocomplete/autocomplete_unittest.cc |
+++ b/chrome/browser/autocomplete/autocomplete_unittest.cc |
@@ -17,6 +17,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(); |