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

Side by Side Diff: components/history/core/browser/expire_history_backend_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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) 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 "components/history/core/browser/expire_history_backend.h" 5 #include "components/history/core/browser/expire_history_backend.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <string> 10 #include <string>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
15 #include "base/files/scoped_temp_dir.h" 16 #include "base/files/scoped_temp_dir.h"
16 #include "base/macros.h" 17 #include "base/macros.h"
17 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
18 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
19 #include "base/prefs/pref_registry_simple.h" 20 #include "base/prefs/pref_registry_simple.h"
20 #include "base/prefs/testing_pref_service.h" 21 #include "base/prefs/testing_pref_service.h"
21 #include "base/scoped_observer.h" 22 #include "base/scoped_observer.h"
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 EXPECT_TRUE(all->Read(now, main_db_.get(), &visits, 1)); 888 EXPECT_TRUE(all->Read(now, main_db_.get(), &visits, 1));
888 EXPECT_EQ(1U, visits.size()); 889 EXPECT_EQ(1U, visits.size());
889 } 890 }
890 891
891 // TODO(brettw) add some visits with no URL to make sure everything is updated 892 // TODO(brettw) add some visits with no URL to make sure everything is updated
892 // properly. Have the visits also refer to nonexistent FTS rows. 893 // properly. Have the visits also refer to nonexistent FTS rows.
893 // 894 //
894 // Maybe also refer to invalid favicons. 895 // Maybe also refer to invalid favicons.
895 896
896 } // namespace history 897 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/expire_history_backend.cc ('k') | components/history/core/browser/history_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698