| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/host/pairing_registry_delegate_win.h" | 5 #include "remoting/host/pairing_registry_delegate_win.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/json/json_string_value_serializer.h" | 9 #include "base/json/json_string_value_serializer.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 result != ERROR_PATH_NOT_FOUND) { | 259 result != ERROR_PATH_NOT_FOUND) { |
| 260 SetLastError(result); | 260 SetLastError(result); |
| 261 PLOG(ERROR) << "Cannot delete pairing entry '" << client_id << "'"; | 261 PLOG(ERROR) << "Cannot delete pairing entry '" << client_id << "'"; |
| 262 return false; | 262 return false; |
| 263 } | 263 } |
| 264 | 264 |
| 265 return true; | 265 return true; |
| 266 } | 266 } |
| 267 | 267 |
| 268 std::unique_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() { | 268 std::unique_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() { |
| 269 return base::WrapUnique(new PairingRegistryDelegateWin()); | 269 return base::MakeUnique<PairingRegistryDelegateWin>(); |
| 270 } | 270 } |
| 271 | 271 |
| 272 } // namespace remoting | 272 } // namespace remoting |
| OLD | NEW |