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) |
Lei Zhang
2012/11/09 09:14:53
Why don't we leave this alone and put the #include
vandebo (ex-Chrome)
2012/11/13 06:50:18
Done.
| |
12 #error "Media file system is not supported for this platform." | |
13 #endif | |
14 | 12 |
15 #if defined(OS_LINUX) // Implies OS_CHROMEOS | 13 #if defined(OS_LINUX) // Implies OS_CHROMEOS |
16 #include "chrome/browser/media_gallery/mtp_device_delegate_impl_linux.h" | 14 #include "chrome/browser/media_gallery/mtp_device_delegate_impl_linux.h" |
17 #endif | 15 #endif |
18 | 16 |
19 namespace chrome { | 17 namespace chrome { |
20 | 18 |
21 // TODO(kmadhusu): Implement MTP device delegates on other platforms. | 19 // TODO(kmadhusu): Implement MTP device delegates on other platforms. |
22 #if defined(OS_LINUX) // Implies OS_CHROMEOS | 20 #if defined(OS_LINUX) // Implies OS_CHROMEOS |
23 typedef class MTPDeviceDelegateImplLinux MTPDeviceDelegateImpl; | 21 typedef class MTPDeviceDelegateImplLinux MTPDeviceDelegateImpl; |
24 #endif | 22 #endif |
25 | 23 |
26 } // namespace chrome | 24 } // namespace chrome |
27 | 25 |
26 #endif // SUPPORT_MTP_DEVICE_FILESYSTEM | |
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 |