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

Unified Diff: chrome/browser/media_galleries/android/mtp_device_delegate_impl_android.cc

Issue 1467373002: Make chrome/browser/media_galleries compile on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments Created 5 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/media_galleries/media_folder_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/android/mtp_device_delegate_impl_android.cc
diff --git a/chrome/browser/media_galleries/android/mtp_device_delegate_impl_android.cc b/chrome/browser/media_galleries/android/mtp_device_delegate_impl_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0c15fc8716eb24964d4502f95914080c9e90aae0
--- /dev/null
+++ b/chrome/browser/media_galleries/android/mtp_device_delegate_impl_android.cc
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
+
+void CreateMTPDeviceAsyncDelegate(
+ const std::string& device_location,
+ const bool read_only,
+ const CreateMTPDeviceAsyncDelegateCallback& callback) {
+ // Return nullptr as there is no MTPDeviceAsyncDelegate implementation for
+ // Chrome on Android at the moment.
+ // TODO(crbug.com/560390): Add an MTPDeviceAsyncDelegate implementation on
+ // Android.
+ NOTIMPLEMENTED();
+ callback.Run(nullptr);
+}
« no previous file with comments | « no previous file | chrome/browser/media_galleries/media_folder_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698