| 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPERAT
ION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPERAT
ION_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPERAT
ION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPERAT
ION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" | 16 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" |
| 16 #include "chromeos/login/auth/user_context.h" | 17 #include "chromeos/login/auth/user_context.h" |
| 17 #include "third_party/cros_system_api/dbus/service_constants.h" | 18 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 18 | 19 |
| 19 namespace chromeos { | 20 namespace chromeos { |
| 20 | 21 |
| 21 class UserContext; | 22 class UserContext; |
| 22 | 23 |
| 23 // A class to create Easy unlock cryptohome keys for the given user and devices. | 24 // A class to create Easy unlock cryptohome keys for the given user and devices. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 scoped_ptr<ChallengeCreator> challenge_creator_; | 61 scoped_ptr<ChallengeCreator> challenge_creator_; |
| 61 | 62 |
| 62 base::WeakPtrFactory<EasyUnlockCreateKeysOperation> weak_ptr_factory_; | 63 base::WeakPtrFactory<EasyUnlockCreateKeysOperation> weak_ptr_factory_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(EasyUnlockCreateKeysOperation); | 65 DISALLOW_COPY_AND_ASSIGN(EasyUnlockCreateKeysOperation); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace chromeos | 68 } // namespace chromeos |
| 68 | 69 |
| 69 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPE
RATION_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_CREATE_KEYS_OPE
RATION_H_ |
| OLD | NEW |