 Chromium Code Reviews
 Chromium Code Reviews Issue 1917673002:
  Convert //components/[u-z]* from scoped_ptr to std::unique_ptr  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1917673002:
  Convert //components/[u-z]* from scoped_ptr to std::unique_ptr  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: components/wifi_sync/network_state_helper_chromeos.cc | 
| diff --git a/components/wifi_sync/network_state_helper_chromeos.cc b/components/wifi_sync/network_state_helper_chromeos.cc | 
| index f7afa73d4c22d512e29b48285c2f76c9c2ecdadb..3383f07fd5fa9373be07691599f0dc76750290c4 100644 | 
| --- a/components/wifi_sync/network_state_helper_chromeos.cc | 
| +++ b/components/wifi_sync/network_state_helper_chromeos.cc | 
| @@ -33,11 +33,10 @@ WifiCredential::CredentialSet GetWifiCredentialsForShillProfile( | 
| // TODO(quiche): Fill in the actual passphrase via an asynchronous | 
| // call to a chromeos::NetworkConfigurationHandler instance's | 
| // GetProperties method. | 
| - scoped_ptr<WifiCredential> credential = | 
| - WifiCredential::Create( | 
| - network->raw_ssid(), | 
| - WifiSecurityClassFromShillSecurity(network->security_class()), | 
| - "" /* empty passphrase */); | 
| + std::unique_ptr<WifiCredential> credential = WifiCredential::Create( | 
| 
danakj
2016/04/25 18:32:58
include memory
 
dcheng
2016/04/25 19:55:06
Done.
 | 
| + network->raw_ssid(), | 
| + WifiSecurityClassFromShillSecurity(network->security_class()), | 
| + "" /* empty passphrase */); | 
| if (!credential) | 
| LOG(ERROR) << "Failed to create credential"; | 
| else |