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

Unified Diff: content/browser/media/capture/image_capture_impl.h

Issue 2166713002: ImageCapture: replace Mojo String/Array with stl/wtf string/vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot media/.../mojo_bindings.gyp Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/media/capture/image_capture_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/capture/image_capture_impl.h
diff --git a/content/browser/media/capture/image_capture_impl.h b/content/browser/media/capture/image_capture_impl.h
index 4aa90733d451c75885ef41ac8a6c5452cbda8fe8..fc412ef4b2b299af688e21d9779c85a4f9fe494a 100644
--- a/content/browser/media/capture/image_capture_impl.h
+++ b/content/browser/media/capture/image_capture_impl.h
@@ -7,7 +7,6 @@
#include "media/mojo/interfaces/image_capture.mojom.h"
#include "mojo/public/cpp/bindings/interface_request.h"
-#include "mojo/public/cpp/bindings/string.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
namespace content {
@@ -18,14 +17,14 @@ class ImageCaptureImpl : public media::mojom::ImageCapture {
mojo::InterfaceRequest<media::mojom::ImageCapture> request);
~ImageCaptureImpl() override;
- void GetCapabilities(const mojo::String& source_id,
+ void GetCapabilities(const std::string& source_id,
const GetCapabilitiesCallback& callback) override;
- void SetOptions(const mojo::String& source_id,
+ void SetOptions(const std::string& source_id,
media::mojom::PhotoSettingsPtr settings,
const SetOptionsCallback& callback) override;
- void TakePhoto(const mojo::String& source_id,
+ void TakePhoto(const std::string& source_id,
const TakePhotoCallback& callback) override;
private:
« no previous file with comments | « no previous file | content/browser/media/capture/image_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698