| 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 "chrome/browser/media_galleries/fileapi/safe_itunes_library_parser.h" | 5 #include "chrome/browser/media_galleries/fileapi/safe_itunes_library_parser.h" |
| 6 | 6 |
| 7 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" | 7 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" |
| 8 #include "chrome/common/chrome_utility_messages.h" | 8 #include "chrome/common/chrome_utility_messages.h" |
| 9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
| 10 #include "content/public/browser/child_process_data.h" | 10 #include "content/public/browser/child_process_data.h" |
| 11 #include "ipc/ipc_platform_file.h" | 11 #include "ipc/ipc_platform_file.h" |
| 12 | 12 |
| 13 using chrome::MediaFileSystemBackend; | |
| 14 using content::BrowserThread; | 13 using content::BrowserThread; |
| 15 using content::UtilityProcessHost; | 14 using content::UtilityProcessHost; |
| 16 | 15 |
| 17 namespace itunes { | 16 namespace itunes { |
| 18 | 17 |
| 19 SafeITunesLibraryParser::SafeITunesLibraryParser( | 18 SafeITunesLibraryParser::SafeITunesLibraryParser( |
| 20 const base::FilePath& itunes_library_file, | 19 const base::FilePath& itunes_library_file, |
| 21 const ParserCallback& callback) | 20 const ParserCallback& callback) |
| 22 : itunes_library_file_(itunes_library_file), | 21 : itunes_library_file_(itunes_library_file), |
| 23 callback_(callback), | 22 callback_(callback), |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ProcessStarted, | 108 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ProcessStarted, |
| 110 OnUtilityProcessStarted) | 109 OnUtilityProcessStarted) |
| 111 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_GotITunesLibrary, | 110 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_GotITunesLibrary, |
| 112 OnGotITunesLibrary) | 111 OnGotITunesLibrary) |
| 113 IPC_MESSAGE_UNHANDLED(handled = false) | 112 IPC_MESSAGE_UNHANDLED(handled = false) |
| 114 IPC_END_MESSAGE_MAP() | 113 IPC_END_MESSAGE_MAP() |
| 115 return handled; | 114 return handled; |
| 116 } | 115 } |
| 117 | 116 |
| 118 } // namespace itunes | 117 } // namespace itunes |
| OLD | NEW |