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

Side by Side Diff: third_party/leveldatabase/env_chromium_unittest.cc

Issue 565803006: Revert of Cleanup: Remove base/file_util.h. Convert remaining references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "base/file_util.h"
5 #include "base/files/file.h" 6 #include "base/files/file.h"
6 #include "base/files/file_enumerator.h" 7 #include "base/files/file_enumerator.h"
7 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
8 #include "base/files/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/test/test_suite.h" 10 #include "base/test/test_suite.h"
11 #include "third_party/leveldatabase/env_chromium_stdio.h" 11 #include "third_party/leveldatabase/env_chromium_stdio.h"
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include "third_party/leveldatabase/env_chromium_win.h" 13 #include "third_party/leveldatabase/env_chromium_win.h"
14 #endif 14 #endif
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/leveldatabase/env_idb.h" 16 #include "third_party/leveldatabase/env_idb.h"
17 #include "third_party/leveldatabase/src/include/leveldb/db.h" 17 #include "third_party/leveldatabase/src/include/leveldb/db.h"
18 18
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 EXPECT_TRUE(status.ok()); 263 EXPECT_TRUE(status.ok());
264 EXPECT_EQ(1U, result.size()); 264 EXPECT_EQ(1U, result.size());
265 265
266 // And a second time should also return one result 266 // And a second time should also return one result
267 status = env->GetChildren(dir.AsUTF8Unsafe(), &result); 267 status = env->GetChildren(dir.AsUTF8Unsafe(), &result);
268 EXPECT_TRUE(status.ok()); 268 EXPECT_TRUE(status.ok());
269 EXPECT_EQ(1U, result.size()); 269 EXPECT_EQ(1U, result.size());
270 } 270 }
271 271
272 int main(int argc, char** argv) { return base::TestSuite(argc, argv).Run(); } 272 int main(int argc, char** argv) { return base::TestSuite(argc, argv).Run(); }
OLDNEW
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | third_party/libjingle/overrides/init_webrtc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698