| 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 #include "base/format_macros.h" | 5 #include "base/format_macros.h" |
| 6 #include "base/string_util.h" | 6 #include "base/string_util.h" |
| 7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/autocomplete/autocomplete.h" | 9 #include "chrome/browser/autocomplete/autocomplete.h" |
| 10 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 10 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // incognito context. | 282 // incognito context. |
| 283 { | 283 { |
| 284 ResultCatcher catcher; | 284 ResultCatcher catcher; |
| 285 autocomplete_controller->Start( | 285 autocomplete_controller->Start( |
| 286 ASCIIToUTF16("keyword command incognito"), string16(), | 286 ASCIIToUTF16("keyword command incognito"), string16(), |
| 287 true, false, true, AutocompleteInput::ALL_MATCHES); | 287 true, false, true, AutocompleteInput::ALL_MATCHES); |
| 288 location_bar->AcceptInput(); | 288 location_bar->AcceptInput(); |
| 289 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); | 289 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); |
| 290 } | 290 } |
| 291 } | 291 } |
| OLD | NEW |