OLD | NEW |
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 "base/base64.h" | 5 #include "base/base64.h" |
6 #include "base/base_paths_win.h" | 6 #include "base/base_paths_win.h" |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/path_service.h" | |
14 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
15 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
16 #include "base/test/scoped_path_override.h" | 15 #include "base/test/scoped_path_override.h" |
17 #include "chrome/browser/media_galleries/fileapi/iapps_finder_impl.h" | 16 #include "chrome/browser/media_galleries/fileapi/iapps_finder_impl.h" |
18 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
19 #include "chrome/test/base/in_process_browser_test.h" | 18 #include "chrome/test/base/in_process_browser_test.h" |
20 | 19 |
21 namespace iapps { | 20 namespace iapps { |
22 | 21 |
23 namespace { | 22 namespace { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "</plist>", EncodePath(library_xml).c_str()); | 185 "</plist>", EncodePath(library_xml).c_str()); |
187 WritePrefFile(xml); | 186 WritePrefFile(xml); |
188 TestFindITunesLibrary(); | 187 TestFindITunesLibrary(); |
189 EXPECT_TRUE(test_finder_callback_called()); | 188 EXPECT_TRUE(test_finder_callback_called()); |
190 EXPECT_TRUE(EmptyResult()); | 189 EXPECT_TRUE(EmptyResult()); |
191 } | 190 } |
192 | 191 |
193 } // namespace | 192 } // namespace |
194 | 193 |
195 } // namespace iapps | 194 } // namespace iapps |
OLD | NEW |