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

Unified Diff: webkit/fileapi/media/mtp_device_file_system_config.h

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Addressed review comment Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/media/mtp_device_file_system_config.h
diff --git a/webkit/fileapi/media/mtp_device_file_system_config.h b/webkit/fileapi/media/mtp_device_file_system_config.h
index 71bc634cb93a4ee8f94b9eeb631e887be4408805..6baf67e4c93f291b03a9ed6ea8d502356a234eaa 100644
--- a/webkit/fileapi/media/mtp_device_file_system_config.h
+++ b/webkit/fileapi/media/mtp_device_file_system_config.h
@@ -1,14 +1,16 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
-#define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
-
-#include "build/build_config.h"
-
-#if defined(OS_LINUX) // Implies defined(OS_CHROMEOS)
-#define SUPPORT_MTP_DEVICE_FILESYSTEM
-#endif
-
-#endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
+#define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_
+
+#include "build/build_config.h"
+
+// Support MTP device file system for Windows, Linux and ChromeOS. Note that
+// OS_CHROMEOS implies OS_LINUX.
+#if defined(OS_WIN) || defined(OS_LINUX)
+#define SUPPORT_MTP_DEVICE_FILESYSTEM
+#endif
+
+#endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_FILE_SYSTEM_CONFIG_H_

Powered by Google App Engine
This is Rietveld 408576698