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

Unified Diff: content/public/test/mock_blob_url_request_context.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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 | « content/public/test/layouttest_support.h ('k') | content/public/test/mock_blob_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_blob_url_request_context.h
diff --git a/content/public/test/mock_blob_url_request_context.h b/content/public/test/mock_blob_url_request_context.h
index 41aba90f283f761ca757e335ccbddd28146b8462..fdf46fa57632bdeea53511d8d8f8886ed872f892 100644
--- a/content/public/test/mock_blob_url_request_context.h
+++ b/content/public/test/mock_blob_url_request_context.h
@@ -32,7 +32,7 @@ class MockBlobURLRequestContext : public net::URLRequestContext {
private:
net::URLRequestJobFactoryImpl job_factory_;
- scoped_ptr<storage::BlobStorageContext> blob_storage_context_;
+ std::unique_ptr<storage::BlobStorageContext> blob_storage_context_;
DISALLOW_COPY_AND_ASSIGN(MockBlobURLRequestContext);
};
@@ -46,12 +46,12 @@ class ScopedTextBlob {
~ScopedTextBlob();
// Returns a BlobDataHandle referring to the scoped blob.
- scoped_ptr<storage::BlobDataHandle> GetBlobDataHandle();
+ std::unique_ptr<storage::BlobDataHandle> GetBlobDataHandle();
private:
const std::string blob_id_;
storage::BlobStorageContext* context_;
- scoped_ptr<storage::BlobDataHandle> handle_;
+ std::unique_ptr<storage::BlobDataHandle> handle_;
DISALLOW_COPY_AND_ASSIGN(ScopedTextBlob);
};
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/public/test/mock_blob_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698