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

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_refresh_keys_operation.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OPERA TION_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OPERA TION_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OPERA TION_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OPERA TION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 24 matching lines...) Expand all
35 35
36 private: 36 private:
37 void OnKeysCreated(bool success); 37 void OnKeysCreated(bool success);
38 void OnKeysRemoved(bool success); 38 void OnKeysRemoved(bool success);
39 39
40 UserContext user_context_; 40 UserContext user_context_;
41 std::string tpm_public_key_; 41 std::string tpm_public_key_;
42 EasyUnlockDeviceKeyDataList devices_; 42 EasyUnlockDeviceKeyDataList devices_;
43 RefreshKeysCallback callback_; 43 RefreshKeysCallback callback_;
44 44
45 scoped_ptr<EasyUnlockCreateKeysOperation> create_keys_operation_; 45 std::unique_ptr<EasyUnlockCreateKeysOperation> create_keys_operation_;
46 scoped_ptr<EasyUnlockRemoveKeysOperation> remove_keys_operation_; 46 std::unique_ptr<EasyUnlockRemoveKeysOperation> remove_keys_operation_;
47 47
48 base::WeakPtrFactory<EasyUnlockRefreshKeysOperation> weak_ptr_factory_; 48 base::WeakPtrFactory<EasyUnlockRefreshKeysOperation> weak_ptr_factory_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(EasyUnlockRefreshKeysOperation); 50 DISALLOW_COPY_AND_ASSIGN(EasyUnlockRefreshKeysOperation);
51 }; 51 };
52 52
53 } // namespace chromeos 53 } // namespace chromeos
54 54
55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OP ERATION_H_ 55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_REFRESH_KEYS_OP ERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698