| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/media/capture/image_capture_impl.h" |
| 6 |
| 7 #include "base/bind_helpers.h" |
| 8 #include "content/public/browser/browser_thread.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 ImageCaptureImpl::ImageCaptureImpl( |
| 13 mojo::InterfaceRequest<blink::mojom::ImageCapture> request) |
| 14 : binding_(this, std::move(request)) { |
| 15 DVLOG(1) << __FUNCTION__; |
| 16 } |
| 17 |
| 18 ImageCaptureImpl::~ImageCaptureImpl() {} |
| 19 |
| 20 void ImageCaptureImpl::TakePhoto(const mojo::String& sourceid, |
| 21 const TakePhotoCallback& callback) { |
| 22 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 23 // TODO(mcasas): Implement this feature., https://crbug.com/518807. |
| 24 callback.Run("text/plain", "not implemented"); |
| 25 } |
| 26 |
| 27 } // namespace content |
| OLD | NEW |