| Index: components/wifi/wifi_test.cc
|
| diff --git a/components/wifi/wifi_test.cc b/components/wifi/wifi_test.cc
|
| index 30014affea0fb2557ffbdd24afdadfcfd1a24290..b2d1def87513e204c0139fab81195e25e7fb2516 100644
|
| --- a/components/wifi/wifi_test.cc
|
| +++ b/components/wifi/wifi_test.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include <stdio.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <utility>
|
|
|
| @@ -13,7 +14,6 @@
|
| #include "base/command_line.h"
|
| #include "base/files/file_util.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -75,7 +75,7 @@ class WiFiTest {
|
| base::mac::ScopedNSAutoreleasePool scoped_pool_;
|
| #endif
|
|
|
| - scoped_ptr<WiFiService> wifi_service_;
|
| + std::unique_ptr<WiFiService> wifi_service_;
|
|
|
| // Need AtExitManager to support AsWeakPtr (in NetLog).
|
| base::AtExitManager exit_manager_;
|
| @@ -157,7 +157,8 @@ bool WiFiTest::ParseCommandLine(int argc, const char* argv[]) {
|
| }
|
|
|
| // Optional properties (frequency, password) to use for connect or create.
|
| - scoped_ptr<base::DictionaryValue> properties(new base::DictionaryValue());
|
| + std::unique_ptr<base::DictionaryValue> properties(
|
| + new base::DictionaryValue());
|
|
|
| if (!frequency.empty()) {
|
| int value = 0;
|
|
|