OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "webkit/fileapi/media/mtp_device_file_system_config.h" | 9 #include "webkit/fileapi/media/mtp_device_file_system_config.h" |
10 | 10 |
11 #if !defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 11 #if !defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
12 #error "Media file system is not supported for this platform." | 12 #error "Media file system is not supported for this platform." |
13 #endif | 13 #endif |
14 | 14 |
15 #if defined(OS_LINUX) // Implies OS_CHROMEOS | 15 #if defined(OS_LINUX) // Implies OS_CHROMEOS |
16 #include "chrome/browser/media_gallery/mtp_device_delegate_impl_linux.h" | 16 #include "chrome/browser/media_gallery/linux/mtp_device_delegate_impl_linux.h" |
17 #endif | 17 #endif |
18 | 18 |
19 namespace chrome { | 19 namespace chrome { |
20 | 20 |
21 // TODO(kmadhusu): Implement MTP device delegates on other platforms. | 21 // TODO(kmadhusu): Implement MTP device delegates on other platforms. |
22 #if defined(OS_LINUX) // Implies OS_CHROMEOS | 22 #if defined(OS_LINUX) // Implies OS_CHROMEOS |
23 typedef class MTPDeviceDelegateImplLinux MTPDeviceDelegateImpl; | 23 typedef class MTPDeviceDelegateImplLinux MTPDeviceDelegateImpl; |
24 #endif | 24 #endif |
25 | 25 |
26 } // namespace chrome | 26 } // namespace chrome |
27 | 27 |
28 #endif // CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ | 28 #endif // CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_ |
OLD | NEW |