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

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

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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
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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <utility> 7 #include <utility>
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/location.h" 13 #include "base/location.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 18 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
19 #include "chrome/test/base/in_process_browser_test.h" 19 #include "chrome/test/base/in_process_browser_test.h"
20 #include "content/public/test/browser_test.h" 20 #include "content/public/test/browser_test.h"
21 #include "content/public/test/test_file_system_backend.h" 21 #include "content/public/test/test_file_system_backend.h"
22 #include "content/public/test/test_file_system_context.h" 22 #include "content/public/test/test_file_system_context.h"
23 #include "content/public/test/test_utils.h" 23 #include "content/public/test/test_utils.h"
24 #include "storage/browser/fileapi/copy_or_move_file_validator.h" 24 #include "storage/browser/fileapi/copy_or_move_file_validator.h"
25 #include "storage/browser/fileapi/file_system_backend.h" 25 #include "storage/browser/fileapi/file_system_backend.h"
26 #include "storage/browser/fileapi/file_system_context.h" 26 #include "storage/browser/fileapi/file_system_context.h"
27 #include "storage/browser/fileapi/file_system_operation_runner.h" 27 #include "storage/browser/fileapi/file_system_operation_runner.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 test_file = test_file.AppendASCII("no_streams.webm"); 281 test_file = test_file.AppendASCII("no_streams.webm");
282 MoveTestFromFile("no_streams.webm", test_file, false); 282 MoveTestFromFile("no_streams.webm", test_file, false);
283 } 283 }
284 284
285 IN_PROC_BROWSER_TEST_F(MediaFileValidatorTest, ValidVideo) { 285 IN_PROC_BROWSER_TEST_F(MediaFileValidatorTest, ValidVideo) {
286 base::FilePath test_file = GetMediaTestDir(); 286 base::FilePath test_file = GetMediaTestDir();
287 ASSERT_FALSE(test_file.empty()); 287 ASSERT_FALSE(test_file.empty());
288 test_file = test_file.AppendASCII("bear-320x240-multitrack.webm"); 288 test_file = test_file.AppendASCII("bear-320x240-multitrack.webm");
289 MoveTestFromFile("multitrack.webm", test_file, true); 289 MoveTestFromFile("multitrack.webm", test_file, true);
290 } 290 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698