| 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 "base/macros.h" | 5 #include "base/macros.h" |
| 6 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" | 6 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" |
| 7 | 7 |
| 8 namespace extensions { | 8 namespace extensions { |
| 9 | 9 |
| 10 namespace easy_unlock_private = api::easy_unlock_private; | 10 namespace easy_unlock_private = api::easy_unlock_private; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 callback.Run(""); | 41 callback.Run(""); |
| 42 } | 42 } |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateStub); | 45 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateStub); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace | 48 } // namespace |
| 49 | 49 |
| 50 // static | 50 // static |
| 51 scoped_ptr<EasyUnlockPrivateCryptoDelegate> | 51 std::unique_ptr<EasyUnlockPrivateCryptoDelegate> |
| 52 EasyUnlockPrivateCryptoDelegate::Create() { | 52 EasyUnlockPrivateCryptoDelegate::Create() { |
| 53 return scoped_ptr<EasyUnlockPrivateCryptoDelegate>( | 53 return std::unique_ptr<EasyUnlockPrivateCryptoDelegate>( |
| 54 new EasyUnlockPrivateCryptoDelegateStub()); | 54 new EasyUnlockPrivateCryptoDelegateStub()); |
| 55 } | 55 } |
| 56 | 56 |
| 57 } // namespace extensions | 57 } // namespace extensions |
| OLD | NEW |