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

Side by Side Diff: sql/mojo/vfs_unittest.cc

Issue 1533283002: Switch to standard integer types in xxx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sql/mojo/sql_test_base.cc ('k') | sql/recovery.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stdint.h>
6
5 #include <memory> 7 #include <memory>
6 8
9 #include "base/macros.h"
7 #include "components/filesystem/public/interfaces/file_system.mojom.h" 10 #include "components/filesystem/public/interfaces/file_system.mojom.h"
8 #include "mojo/application/public/cpp/application_impl.h" 11 #include "mojo/application/public/cpp/application_impl.h"
9 #include "mojo/application/public/cpp/application_test_base.h" 12 #include "mojo/application/public/cpp/application_test_base.h"
10 #include "mojo/util/capture_util.h" 13 #include "mojo/util/capture_util.h"
11 #include "sql/mojo/mojo_vfs.h" 14 #include "sql/mojo/mojo_vfs.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/sqlite/sqlite3.h" 16 #include "third_party/sqlite/sqlite3.h"
14 17
15 namespace std { 18 namespace std {
16 19
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 EXPECT_EQ(SQLITE_OK, rc); 333 EXPECT_EQ(SQLITE_OK, rc);
331 334
332 rc = file->pMethods->xFileSize(file.get(), &size); 335 rc = file->pMethods->xFileSize(file.get(), &size);
333 EXPECT_EQ(SQLITE_OK, rc); 336 EXPECT_EQ(SQLITE_OK, rc);
334 EXPECT_EQ(kCharsToThree, size); 337 EXPECT_EQ(kCharsToThree, size);
335 338
336 file->pMethods->xClose(file.get()); 339 file->pMethods->xClose(file.get());
337 } 340 }
338 341
339 } // namespace sql 342 } // namespace sql
OLDNEW
« no previous file with comments | « sql/mojo/sql_test_base.cc ('k') | sql/recovery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698