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

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

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback 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 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "chrome/browser/media_galleries/fileapi/iphoto_data_provider.h" 17 #include "chrome/browser/media_galleries/fileapi/iphoto_data_provider.h"
18 #include "chrome/browser/media_galleries/fileapi/iphoto_file_util.h" 18 #include "chrome/browser/media_galleries/fileapi/iphoto_file_util.h"
19 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 19 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
20 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" 20 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h"
21 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" 21 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/test/mock_special_storage_policy.h" 23 #include "content/public/test/mock_special_storage_policy.h"
24 #include "content/public/test/test_browser_thread.h" 24 #include "content/public/test/test_browser_thread.h"
25 #include "content/public/test/test_file_system_options.h" 25 #include "content/public/test/test_file_system_options.h"
26 #include "storage/browser/fileapi/async_file_util.h"
27 #include "storage/browser/fileapi/external_mount_points.h"
28 #include "storage/browser/fileapi/file_system_context.h"
29 #include "storage/browser/fileapi/file_system_operation_context.h"
30 #include "storage/browser/fileapi/file_system_operation_runner.h"
26 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
27 #include "webkit/browser/fileapi/async_file_util.h"
28 #include "webkit/browser/fileapi/external_mount_points.h"
29 #include "webkit/browser/fileapi/file_system_context.h"
30 #include "webkit/browser/fileapi/file_system_operation_context.h"
31 #include "webkit/browser/fileapi/file_system_operation_runner.h"
32 32
33 using storage::FileSystemOperationContext; 33 using storage::FileSystemOperationContext;
34 using storage::FileSystemOperation; 34 using storage::FileSystemOperation;
35 using storage::FileSystemURL; 35 using storage::FileSystemURL;
36 36
37 namespace iphoto { 37 namespace iphoto {
38 38
39 namespace { 39 namespace {
40 40
41 void ReadDirectoryTestHelperCallback( 41 void ReadDirectoryTestHelperCallback(
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 completed = false; 345 completed = false;
346 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); 346 ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed);
347 ASSERT_TRUE(completed); 347 ASSERT_TRUE(completed);
348 ASSERT_EQ(1u, contents.size()); 348 ASSERT_EQ(1u, contents.size());
349 349
350 EXPECT_FALSE(contents.front().is_directory); 350 EXPECT_FALSE(contents.front().is_directory);
351 EXPECT_EQ("a.jpg", contents.front().name); 351 EXPECT_EQ("a.jpg", contents.front().name);
352 } 352 }
353 353
354 } // namespace iphoto 354 } // namespace iphoto
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698