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

Unified Diff: content/browser/speech/endpointer/energy_endpointer.h

Issue 1874893002: Convert //content/browser 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: content/browser/speech/endpointer/energy_endpointer.h
diff --git a/content/browser/speech/endpointer/energy_endpointer.h b/content/browser/speech/endpointer/energy_endpointer.h
index 27837bb625e84320c3c70f746ee01446e6f72800..7b0b292aee79d951ab86d3e6e8670fee28ca0a5d 100644
--- a/content/browser/speech/endpointer/energy_endpointer.h
+++ b/content/browser/speech/endpointer/energy_endpointer.h
@@ -39,10 +39,10 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/speech/endpointer/energy_endpointer_params.h"
#include "content/common/content_export.h"
@@ -125,7 +125,7 @@ class CONTENT_EXPORT EnergyEndpointer {
float sample_rate_; // Sampling rate.
// Ring buffers to hold the speech activity history.
- scoped_ptr<HistoryRing> history_;
+ std::unique_ptr<HistoryRing> history_;
// Configuration parameters.
EnergyEndpointerParams params_;
« no previous file with comments | « content/browser/speech/chunked_byte_buffer_unittest.cc ('k') | content/browser/speech/google_one_shot_remote_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698