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 WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ | 5 #ifndef WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ |
6 #define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ | 6 #define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // Support MTP device file system for Windows, Mac, Linux and ChromeOS. | 10 // Support MTP device file system for Windows, Mac, Linux and ChromeOS. |
11 // Note that OS_LINUX implies OS_CHROMEOS. | 11 // Note that OS_LINUX implies OS_CHROMEOS. |
12 // TODO(gbillock): remove this define and make this default. | 12 // TODO(gbillock): remove this define and make this default. |
13 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 13 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
14 #define SUPPORT_MTP_DEVICE_FILESYSTEM | 14 #define SUPPORT_MTP_DEVICE_FILESYSTEM |
15 #endif | 15 #endif |
16 | 16 |
17 // Use asynchronous MTP device delegate API. | 17 // Use asynchronous MTP device delegate API. |
18 // TODO(kmadhusu): remove this define and make this default. | 18 // TODO(kmadhusu): remove this define and make this default. |
19 // Note that OS_LINUX implies OS_CHROMEOS | 19 // Note that OS_LINUX implies OS_CHROMEOS |
20 #if defined(OS_WIN) || defined(OS_LINUX) | 20 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) |
21 #define USE_MTP_DEVICE_ASYNC_DELEGATE | 21 #define USE_MTP_DEVICE_ASYNC_DELEGATE |
22 #endif | 22 #endif |
23 | 23 |
24 #endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ | 24 #endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ |
OLD | NEW |