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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc

Issue 2257113002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
index 2d44d9b2cf07716c86c84be63854230d7c7cda65..3c89ec4410aff7443355cf8c813f58d75300e85a 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
@@ -104,8 +104,7 @@ class MockHotwordService : public HotwordService {
}
static std::unique_ptr<KeyedService> Build(content::BrowserContext* profile) {
- return base::WrapUnique(
- new MockHotwordService(static_cast<Profile*>(profile)));
+ return base::MakeUnique<MockHotwordService>(static_cast<Profile*>(profile));
}
LaunchMode GetHotwordAudioVerificationLaunchMode() override {

Powered by Google App Engine
This is Rietveld 408576698