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

Side by Side Diff: chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.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 "chrome/browser/media_galleries/fileapi/picasa_file_util.h" 5 #include "chrome/browser/media_galleries/fileapi/picasa_file_util.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/memory/scoped_vector.h" 21 #include "base/memory/scoped_vector.h"
22 #include "base/message_loop/message_loop.h" 22 #include "base/message_loop/message_loop.h"
23 #include "base/run_loop.h" 23 #include "base/run_loop.h"
24 #include "base/single_thread_task_runner.h" 24 #include "base/single_thread_task_runner.h"
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "base/thread_task_runner_handle.h" 26 #include "base/threading/thread_task_runner_handle.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 28 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
29 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" 29 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h"
30 #include "chrome/browser/media_galleries/fileapi/picasa_data_provider.h" 30 #include "chrome/browser/media_galleries/fileapi/picasa_data_provider.h"
31 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" 31 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
32 #include "chrome/common/media_galleries/picasa_types.h" 32 #include "chrome/common/media_galleries/picasa_types.h"
33 #include "chrome/common/media_galleries/pmp_constants.h" 33 #include "chrome/common/media_galleries/pmp_constants.h"
34 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
35 #include "content/public/test/mock_special_storage_policy.h" 35 #include "content/public/test/mock_special_storage_policy.h"
36 #include "content/public/test/test_browser_thread.h" 36 #include "content/public/test/test_browser_thread.h"
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 operation_runner()->CreateSnapshotFile( 584 operation_runner()->CreateSnapshotFile(
585 CreateURL(std::string(kPicasaDirAlbums) + 585 CreateURL(std::string(kPicasaDirAlbums) +
586 "/albumname 2013-04-16/mapped_name.jpg"), 586 "/albumname 2013-04-16/mapped_name.jpg"),
587 snapshot_callback); 587 snapshot_callback);
588 loop.Run(); 588 loop.Run();
589 EXPECT_EQ(base::File::FILE_OK, error); 589 EXPECT_EQ(base::File::FILE_OK, error);
590 EXPECT_EQ(image_path, platform_path_result); 590 EXPECT_EQ(image_path, platform_path_result);
591 } 591 }
592 592
593 } // namespace picasa 593 } // namespace picasa
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698