Chromium Code Reviews| 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..68527dc5c8b01035a43c9ab4a1c67e3ef2e3a9db |
| --- /dev/null |
| +++ b/content/browser/media/capture/image_capture_context.h |
| @@ -0,0 +1,32 @@ |
| +// 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 "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.
|
| +#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: |
| + ScopedVector<ImageCaptureImpl> services_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ImageCaptureContext); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_CONTEXT_H_ |