Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: chrome/browser/autocomplete/autocomplete_unittest.cc

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 6 #include "base/scoped_ptr.h"
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/autocomplete/autocomplete.h" 10 #include "chrome/browser/autocomplete/autocomplete.h"
11 #include "chrome/common/notification_observer.h"
11 #include "chrome/common/notification_registrar.h" 12 #include "chrome/common/notification_registrar.h"
12 #include "chrome/common/notification_service.h" 13 #include "chrome/common/notification_service.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 // identifiers for known autocomplete providers 16 // identifiers for known autocomplete providers
16 #define HISTORY_IDENTIFIER L"Chrome:History" 17 #define HISTORY_IDENTIFIER L"Chrome:History"
17 #define SEARCH_IDENTIFIER L"google.com/websearch/en" 18 #define SEARCH_IDENTIFIER L"google.com/websearch/en"
18 19
19 namespace { 20 namespace {
20 21
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " << 376 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " <<
376 input_cases[i].input; 377 input_cases[i].input;
377 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " << 378 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " <<
378 input_cases[i].input; 379 input_cases[i].input;
379 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " << 380 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " <<
380 input_cases[i].input; 381 input_cases[i].input;
381 } 382 }
382 } 383 }
383 384
384 } // namespace 385 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_model.h ('k') | chrome/browser/autocomplete/keyword_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698