commit | bc4a76d58974592173b03e491aa36bfc00bcbc23 | [log] [tgz] |
---|---|---|
author | Julie Jeongeun Kim <[email protected]> | Wed Sep 11 02:28:23 2019 |
committer | Commit Bot <[email protected]> | Wed Sep 11 02:28:23 2019 |
tree | 6763e11c40dc32130bce8b2adea558d6ca48e71d | |
parent | 0ac330599fd10d508520e44944dcf5baea01dd4d [diff] [blame] |
Convert BlobPtr in //third_party/blink and //storage to new Mojo types This CL converts BlobPtr in //third_party/blink and //storage to mojo::PendingRemote or mojo::Remote. It also renames GetBlobPtr() to GetBlobRemote() from BrowserContext and cleans up TakeBlobPtr() from storage/browser/blob/blob_handle.h. Bug: 955171, 978694 Change-Id: Iff9bc1862ba9fda0de0a5c29d982dfcd7ec87dd9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1792210 Commit-Queue: Julie Kim <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Oksana Zhuravlova <[email protected]> Cr-Commit-Position: refs/heads/master@{#695456}
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc index 9e5b738..220d0a43 100644 --- a/content/browser/browser_context.cc +++ b/content/browser/browser_context.cc
@@ -498,11 +498,11 @@ } // static -blink::mojom::BlobPtr BrowserContext::GetBlobPtr( +mojo::PendingRemote<blink::mojom::Blob> BrowserContext::GetBlobRemote( BrowserContext* browser_context, const std::string& uuid) { DCHECK_CURRENTLY_ON(BrowserThread::UI); - return ChromeBlobStorageContext::GetBlobPtr(browser_context, uuid); + return ChromeBlobStorageContext::GetBlobRemote(browser_context, uuid); } // static