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

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

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 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/string_util.h" 7 #include "base/string_util.h"
7 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autocomplete/autocomplete.h" 9 #include "chrome/browser/autocomplete/autocomplete.h"
9 #include "chrome/common/notification_registrar.h" 10 #include "chrome/common/notification_registrar.h"
10 #include "chrome/common/notification_service.h" 11 #include "chrome/common/notification_service.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 // identifiers for known autocomplete providers 14 // identifiers for known autocomplete providers
14 #define HISTORY_IDENTIFIER L"Chrome:History" 15 #define HISTORY_IDENTIFIER L"Chrome:History"
15 #define SEARCH_IDENTIFIER L"google.com/websearch/en" 16 #define SEARCH_IDENTIFIER L"google.com/websearch/en"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " << 370 EXPECT_EQ(input_cases[i].scheme.len, scheme.len) << "Input: " <<
370 input_cases[i].input; 371 input_cases[i].input;
371 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " << 372 EXPECT_EQ(input_cases[i].host.begin, host.begin) << "Input: " <<
372 input_cases[i].input; 373 input_cases[i].input;
373 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " << 374 EXPECT_EQ(input_cases[i].host.len, host.len) << "Input: " <<
374 input_cases[i].input; 375 input_cases[i].input;
375 } 376 }
376 } 377 }
377 378
378 } // namespace 379 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/browser/autocomplete/search_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698