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

Side by Side Diff: components/leveldb_proto/proto_database_impl_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/leveldb_proto/proto_database_impl.h" 5 #include "components/leveldb_proto/proto_database_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
12 #include "base/location.h" 14 #include "base/location.h"
13 #include "base/run_loop.h" 15 #include "base/run_loop.h"
14 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
15 #include "components/leveldb_proto/leveldb_database.h" 17 #include "components/leveldb_proto/leveldb_database.h"
16 #include "components/leveldb_proto/testing/proto/test.pb.h" 18 #include "components/leveldb_proto/testing/proto/test.pb.h"
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 436
435 ASSERT_TRUE(db->Save(save_entries, remove_keys)); 437 ASSERT_TRUE(db->Save(save_entries, remove_keys));
436 438
437 std::vector<std::string> second_load_entries; 439 std::vector<std::string> second_load_entries;
438 440
439 ASSERT_TRUE(db->Load(&second_load_entries)); 441 ASSERT_TRUE(db->Load(&second_load_entries));
440 EXPECT_EQ(1u, second_load_entries.size()); 442 EXPECT_EQ(1u, second_load_entries.size());
441 } 443 }
442 444
443 } // namespace leveldb_proto 445 } // namespace leveldb_proto
OLDNEW
« no previous file with comments | « components/leveldb_proto/proto_database_impl.h ('k') | components/login/base_screen_handler_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698