| Index: content/browser/media/capture/image_capture_context.h
|
| diff --git a/content/browser/media/capture/image_capture_context.h b/content/browser/media/capture/image_capture_context.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d9b639791b4a6705b9d13cd232f0b14aa5e29c93
|
| --- /dev/null
|
| +++ b/content/browser/media/capture/image_capture_context.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 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 CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
|
| +#define CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
|
| +
|
| +#include "mojo/public/cpp/bindings/interface_request.h"
|
| +#include "third_party/WebKit/public/platform/modules/imagecapture/image_capture.mojom.h"
|
| +
|
| +namespace content {
|
| +
|
| +class ImageCaptureImpl;
|
| +
|
| +class ImageCaptureContext {
|
| + public:
|
| + ImageCaptureContext();
|
| + ~ImageCaptureContext();
|
| +
|
| + void CreateService(
|
| + mojo::InterfaceRequest<blink::mojom::ImageCapture> request);
|
| +
|
| + private:
|
| + std::vector<std::unique_ptr<ImageCaptureImpl>> services_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ImageCaptureContext);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_
|
|
|