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

Side by Side Diff: chrome/browser/history/text_database_manager_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <set> 5 #include <set>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/history/text_database_manager.h" 11 #include "chrome/browser/history/text_database_manager.h"
12 #include "chrome/browser/history/visit_database.h" 12 #include "chrome/browser/history/visit_database.h"
13 #include "sql/connection.h" 13 #include "sql/connection.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 using base::TimeTicks; 18 using base::TimeTicks;
19 19
20 namespace history { 20 namespace history {
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 times.push_back(Time::FromInternalValue(5)); 589 times.push_back(Time::FromInternalValue(5));
590 times.push_back(Time::FromInternalValue(5)); 590 times.push_back(Time::FromInternalValue(5));
591 times.push_back(Time::FromInternalValue(3)); 591 times.push_back(Time::FromInternalValue(3));
592 times.push_back(Time::FromInternalValue(1)); 592 times.push_back(Time::FromInternalValue(1));
593 manager.DeleteFromUncommittedForTimes(times); 593 manager.DeleteFromUncommittedForTimes(times);
594 594
595 EXPECT_EQ(3u, manager.GetUncommittedEntryCountForTest()); 595 EXPECT_EQ(3u, manager.GetUncommittedEntryCountForTest());
596 } 596 }
597 597
598 } // namespace history 598 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/text_database_manager.cc ('k') | chrome/browser/history/text_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698