Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: webkit/fileapi/media/mtp_device_file_system_config.h

Issue 12255023: [Media Galleries] Switch Mac MTP delegate to async interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No log lines Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #if 0 19 #if defined(OS_MACOSX)
20 #define USE_MTP_DEVICE_ASYNC_DELEGATE 20 #define USE_MTP_DEVICE_ASYNC_DELEGATE
21 #endif 21 #endif
22 22
23 #endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_ 23 #endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698