OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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.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/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.h" | 17 #include "chrome/browser/media_galleries/fileapi/itunes_finder.h" |
18 #include "chrome/browser/media_galleries/fileapi/itunes_finder_win.h" | 18 #include "chrome/browser/media_galleries/fileapi/itunes_finder_win.h" |
19 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
20 #include "content/public/test/test_browser_thread.h" | 20 #include "content/public/test/test_browser_thread.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
22 | 22 |
23 namespace itunes { | 23 namespace itunes { |
24 | 24 |
25 namespace { | 25 namespace { |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 " </dict>" | 172 " </dict>" |
173 "</plist>", EncodePath(library_xml).c_str()); | 173 "</plist>", EncodePath(library_xml).c_str()); |
174 WritePrefFile(xml); | 174 WritePrefFile(xml); |
175 result = TestFindITunesLibrary(); | 175 result = TestFindITunesLibrary(); |
176 EXPECT_TRUE(result.empty()); | 176 EXPECT_TRUE(result.empty()); |
177 } | 177 } |
178 | 178 |
179 } // namespace | 179 } // namespace |
180 | 180 |
181 } // namespace itunes | 181 } // namespace itunes |
OLD | NEW |