OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "base/scoped_ptr.h" | |
7 #include "base/string_util.h" | 6 #include "base/string_util.h" |
8 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/autocomplete/autocomplete.h" | 8 #include "chrome/browser/autocomplete/autocomplete.h" |
10 #include "chrome/common/notification_registrar.h" | 9 #include "chrome/common/notification_registrar.h" |
11 #include "chrome/common/notification_service.h" | 10 #include "chrome/common/notification_service.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
13 | 12 |
14 // identifiers for known autocomplete providers | 13 // identifiers for known autocomplete providers |
15 #define HISTORY_IDENTIFIER L"Chrome:History" | 14 #define HISTORY_IDENTIFIER L"Chrome:History" |
16 #define SEARCH_IDENTIFIER L"google.com/websearch/en" | 15 #define SEARCH_IDENTIFIER L"google.com/websearch/en" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " << | 369 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " << |
371 input_cases[i].input; | 370 input_cases[i].input; |
372 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " << | 371 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " << |
373 input_cases[i].input; | 372 input_cases[i].input; |
374 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " << | 373 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " << |
375 input_cases[i].input; | 374 input_cases[i].input; |
376 } | 375 } |
377 } | 376 } |
378 | 377 |
379 } // namespace | 378 } // namespace |
OLD | NEW |