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

Side by Side Diff: chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.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/macros.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
15 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
16 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
17 #include "base/time/time.h" 18 #include "base/time/time.h"
18 #include "chrome/browser/media_galleries/fileapi/itunes_data_provider.h" 19 #include "chrome/browser/media_galleries/fileapi/itunes_data_provider.h"
19 #include "chrome/browser/media_galleries/fileapi/itunes_file_util.h" 20 #include "chrome/browser/media_galleries/fileapi/itunes_file_util.h"
20 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 21 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
21 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" 22 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h"
22 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" 23 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 completed = false; 343 completed = false;
343 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); 344 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed);
344 ASSERT_TRUE(completed); 345 ASSERT_TRUE(completed);
345 ASSERT_EQ(1u, contents.size()); 346 ASSERT_EQ(1u, contents.size());
346 EXPECT_FALSE(contents.front().is_directory); 347 EXPECT_FALSE(contents.front().is_directory);
347 EXPECT_EQ(base::FilePath().AppendASCII("baz.ogg").value(), 348 EXPECT_EQ(base::FilePath().AppendASCII("baz.ogg").value(),
348 contents.front().name); 349 contents.front().name);
349 } 350 }
350 351
351 } // namespace itunes 352 } // namespace itunes
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698