OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" | 5 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "chromeos/dbus/dbus_thread_manager.h" | 8 #include "chromeos/dbus/dbus_thread_manager.h" |
9 #include "chromeos/dbus/easy_unlock_client.h" | 9 #include "chromeos/dbus/easy_unlock_client.h" |
10 #include "third_party/cros_system_api/dbus/service_constants.h" | 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 private: | 118 private: |
119 chromeos::EasyUnlockClient* dbus_client_; | 119 chromeos::EasyUnlockClient* dbus_client_; |
120 | 120 |
121 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateChromeOS); | 121 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateChromeOS); |
122 }; | 122 }; |
123 | 123 |
124 } // namespace | 124 } // namespace |
125 | 125 |
126 // static | 126 // static |
127 scoped_ptr<EasyUnlockPrivateCryptoDelegate> | 127 std::unique_ptr<EasyUnlockPrivateCryptoDelegate> |
128 EasyUnlockPrivateCryptoDelegate::Create() { | 128 EasyUnlockPrivateCryptoDelegate::Create() { |
129 return scoped_ptr<EasyUnlockPrivateCryptoDelegate>( | 129 return std::unique_ptr<EasyUnlockPrivateCryptoDelegate>( |
130 new EasyUnlockPrivateCryptoDelegateChromeOS()); | 130 new EasyUnlockPrivateCryptoDelegateChromeOS()); |
131 } | 131 } |
132 | 132 |
133 } // namespace extensions | 133 } // namespace extensions |
OLD | NEW |