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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h

Issue 2867013002: Use OnceCallback on Mojo interfaces in //chrome/common/extensions (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
diff --git a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
index 4bad0b13d58febb4697d58a878d231489ea662c9..5152aa3fbca45cffeca05d08bc14388455725e26 100644
--- a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
+++ b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
@@ -71,19 +71,19 @@ class SafeMediaMetadataParser
// Sequence of functions that bounces from the IO thread to the UI thread to
// read the blob data, then sends the data back to the utility process.
void StartBlobRequest(
- const extensions::mojom::MediaDataSource::ReadBlobCallback& callback,
+ extensions::mojom::MediaDataSource::ReadBlobCallback callback,
int64_t position,
int64_t length);
void StartBlobReaderOnUIThread(
- const extensions::mojom::MediaDataSource::ReadBlobCallback& callback,
+ extensions::mojom::MediaDataSource::ReadBlobCallback callback,
int64_t position,
int64_t length);
void BlobReaderDoneOnUIThread(
- const extensions::mojom::MediaDataSource::ReadBlobCallback& callback,
+ extensions::mojom::MediaDataSource::ReadBlobCallback callback,
std::unique_ptr<std::string> data,
int64_t /* blob_total_size */);
void FinishBlobRequest(
- const extensions::mojom::MediaDataSource::ReadBlobCallback& callback,
+ extensions::mojom::MediaDataSource::ReadBlobCallback callback,
std::unique_ptr<std::string> data);
// All member variables are only accessed on the IO thread.
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698