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

Side by Side Diff: components/history/core/browser/thumbnail_database_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 <stddef.h>
6
5 #include <algorithm> 7 #include <algorithm>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/basictypes.h"
9 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
10 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
11 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
12 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
13 #include "base/path_service.h" 14 #include "base/path_service.h"
14 #include "components/history/core/browser/thumbnail_database.h" 15 #include "components/history/core/browser/thumbnail_database.h"
15 #include "components/history/core/test/database_test_utils.h" 16 #include "components/history/core/test/database_test_utils.h"
16 #include "sql/connection.h" 17 #include "sql/connection.h"
17 #include "sql/recovery.h" 18 #include "sql/recovery.h"
18 #include "sql/test/scoped_error_ignorer.h" 19 #include "sql/test/scoped_error_ignorer.h"
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 ThumbnailDatabase db(NULL); 1106 ThumbnailDatabase db(NULL);
1106 ASSERT_EQ(sql::INIT_OK, db.Init(db_path)); 1107 ASSERT_EQ(sql::INIT_OK, db.Init(db_path));
1107 1108
1108 // Verify that the resulting schema is correct, whether it 1109 // Verify that the resulting schema is correct, whether it
1109 // involved razing the file or fixing things in place. 1110 // involved razing the file or fixing things in place.
1110 VerifyTablesAndColumns(&db.db_); 1111 VerifyTablesAndColumns(&db.db_);
1111 } 1112 }
1112 } 1113 }
1113 1114
1114 } // namespace history 1115 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/thumbnail_database.cc ('k') | components/history/core/browser/top_sites.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698