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