Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_chromeos.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698