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

Side by Side Diff: chrome/browser/history/history_querying_unittest.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/history/history_service.h" 13 #include "chrome/browser/history/history_service.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 using base::Time; 16 using base::Time;
17 using base::TimeDelta; 17 using base::TimeDelta;
18 18
19 // Tests the history service for querying functionality. 19 // Tests the history service for querying functionality.
20 20
21 namespace history { 21 namespace history {
22 22
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 TEST_F(HistoryQueryTest, FTSPaging) { 475 TEST_F(HistoryQueryTest, FTSPaging) {
476 // Since results are fetched 1 and 2 at a time, entry #0 and #6 will not 476 // Since results are fetched 1 and 2 at a time, entry #0 and #6 will not
477 // be de-duplicated. Entry #4 does not contain the text "title", so it 477 // be de-duplicated. Entry #4 does not contain the text "title", so it
478 // shouldn't appear. 478 // shouldn't appear.
479 int expected_results[] = { 2, 3, 1, 7, 6, 5 }; 479 int expected_results[] = { 2, 3, 1, 7, 6, 5 };
480 TestPaging("title", expected_results, arraysize(expected_results)); 480 TestPaging("title", expected_results, arraysize(expected_results));
481 } 481 }
482 482
483 } // namespace history 483 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_publisher_win.cc ('k') | chrome/browser/history/history_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698