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

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

Issue 1926873002: MediaStream Image Capture (3): Adding mojo and browser impl for dummy takePhoto(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(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 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
7
8 #include "base/memory/scoped_vector.h"
Reilly Grant (use Gerrit) 2016/04/28 00:44:03 ScopedVector is deprecated in favor of std::vector
mcasas 2016/04/28 01:03:09 Done.
9 #include "mojo/public/cpp/bindings/interface_request.h"
10 #include "third_party/WebKit/public/platform/modules/imagecapture/image_capture. mojom.h"
11
12 namespace content {
13
14 class ImageCaptureImpl;
15
16 class ImageCaptureContext {
17 public:
18 ImageCaptureContext();
19 ~ImageCaptureContext();
20
21 void CreateService(
22 mojo::InterfaceRequest<blink::mojom::ImageCapture> request);
23
24 private:
25 ScopedVector<ImageCaptureImpl> services_;
26
27 DISALLOW_COPY_AND_ASSIGN(ImageCaptureContext);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698