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

Side by Side Diff: net/base/directory_lister_unittest.cc

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
« no previous file with comments | « net/base/directory_lister.cc ('k') | net/base/elements_upload_data_stream_unittest.cc » ('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 (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 <list> 5 #include <list>
6 #include <utility> 6 #include <utility>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "base/i18n/file_util_icu.h" 13 #include "base/i18n/file_util_icu.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "net/base/directory_lister.h" 17 #include "net/base/directory_lister.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "testing/platform_test.h" 20 #include "testing/platform_test.h"
21 21
22 namespace net { 22 namespace net {
23 23
24 namespace { 24 namespace {
25 25
26 const int kMaxDepth = 3; 26 const int kMaxDepth = 3;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ListerDelegate delegate(DirectoryLister::ALPHA_DIRS_FIRST); 286 ListerDelegate delegate(DirectoryLister::ALPHA_DIRS_FIRST);
287 DirectoryLister lister( 287 DirectoryLister lister(
288 tempDir.path().AppendASCII("this_path_does_not_exist"), &delegate); 288 tempDir.path().AppendASCII("this_path_does_not_exist"), &delegate);
289 delegate.Run(&lister); 289 delegate.Run(&lister);
290 290
291 EXPECT_EQ(ERR_FILE_NOT_FOUND, delegate.error()); 291 EXPECT_EQ(ERR_FILE_NOT_FOUND, delegate.error());
292 EXPECT_EQ(0, delegate.num_files()); 292 EXPECT_EQ(0, delegate.num_files());
293 } 293 }
294 294
295 } // namespace net 295 } // namespace net
OLDNEW
« no previous file with comments | « net/base/directory_lister.cc ('k') | net/base/elements_upload_data_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698