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