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

Side by Side Diff: content/browser/media/capture/image_capture_impl.h

Issue 2539543002: RELAND: ImageCapture: move image_capture.mojom from media/mojo/interfaces/ to media/capture/mojo/ (Closed)
Patch Set: https://codereview.chromium.org/2526953002 Created 4 years 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
« no previous file with comments | « content/browser/DEPS ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_ 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_
7 7
8 #include "media/mojo/interfaces/image_capture.mojom.h" 8 #include "media/capture/mojo/image_capture.mojom.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class ImageCaptureImpl : public media::mojom::ImageCapture { 12 class ImageCaptureImpl : public media::mojom::ImageCapture {
13 public: 13 public:
14 ImageCaptureImpl(); 14 ImageCaptureImpl();
15 ~ImageCaptureImpl() override; 15 ~ImageCaptureImpl() override;
16 16
17 static void Create(media::mojom::ImageCaptureRequest request); 17 static void Create(media::mojom::ImageCaptureRequest request);
18 18
19 void GetCapabilities(const std::string& source_id, 19 void GetCapabilities(const std::string& source_id,
20 const GetCapabilitiesCallback& callback) override; 20 const GetCapabilitiesCallback& callback) override;
21 21
22 void SetOptions(const std::string& source_id, 22 void SetOptions(const std::string& source_id,
23 media::mojom::PhotoSettingsPtr settings, 23 media::mojom::PhotoSettingsPtr settings,
24 const SetOptionsCallback& callback) override; 24 const SetOptionsCallback& callback) override;
25 25
26 void TakePhoto(const std::string& source_id, 26 void TakePhoto(const std::string& source_id,
27 const TakePhotoCallback& callback) override; 27 const TakePhotoCallback& callback) override;
28 28
29 private: 29 private:
30 DISALLOW_COPY_AND_ASSIGN(ImageCaptureImpl); 30 DISALLOW_COPY_AND_ASSIGN(ImageCaptureImpl);
31 }; 31 };
32 32
33 } // namespace content 33 } // namespace content
34 34
35 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_ 35 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698