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

Unified Diff: extensions/browser/api/document_scan/document_scan_api_unittest.cc

Issue 1902873002: Convert //extensions/browser/api from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: extensions/browser/api/document_scan/document_scan_api_unittest.cc
diff --git a/extensions/browser/api/document_scan/document_scan_api_unittest.cc b/extensions/browser/api/document_scan/document_scan_api_unittest.cc
index ddc4e4dd53ff10c6807fca1587c8f04f8291e92a..9a092366f2bfbe2e96007bbe22dde192d4a97659 100644
--- a/extensions/browser/api/document_scan/document_scan_api_unittest.cc
+++ b/extensions/browser/api/document_scan/document_scan_api_unittest.cc
@@ -106,7 +106,7 @@ TEST_F(DocumentScanScanFunctionTest, Success) {
EXPECT_CALL(*document_scan_interface_, Scan(_, _, _, _))
.WillOnce(InvokeScanCallback(kScanData, kMimeType, ""));
function_->set_user_gesture(true);
- scoped_ptr<base::DictionaryValue> result(
+ std::unique_ptr<base::DictionaryValue> result(
RunFunctionAndReturnDictionary(function_, "[{}]"));
ASSERT_NE(nullptr, result.get());
document_scan::ScanResults scan_results;

Powered by Google App Engine
This is Rietveld 408576698