| Index: components/rappor/rappor_service_unittest.cc
|
| diff --git a/components/rappor/rappor_service_unittest.cc b/components/rappor/rappor_service_unittest.cc
|
| index 711722dbde9093d86a82ead3eb5d75fbc2c84090..2c1e8b6ce6802a25044c8e5e6a5093e711794a5d 100644
|
| --- a/components/rappor/rappor_service_unittest.cc
|
| +++ b/components/rappor/rappor_service_unittest.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| +
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "base/base64.h"
|
| @@ -121,7 +123,7 @@ TEST(RapporServiceTest, Incognito) {
|
| // Check that Sample objects record correctly.
|
| TEST(RapporServiceTest, RecordSample) {
|
| TestRapporService rappor_service;
|
| - scoped_ptr<Sample> sample =
|
| + std::unique_ptr<Sample> sample =
|
| rappor_service.CreateSample(SAFEBROWSING_RAPPOR_TYPE);
|
| sample->SetStringField("Url", "example.com");
|
| sample->SetFlagsField("Flags1", 0xbcd, 12);
|
|
|