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 CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ | 5 #ifndef CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ |
6 #define CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ | 6 #define CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
13 #include "chromeos/dbus/dbus_method_call_status.h" | 13 #include "chromeos/dbus/dbus_method_call_status.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // Interface which TpmPasswordFetcher uses to notify that password has been | 17 // Interface which TpmPasswordFetcher uses to notify that password has been |
18 // fetched. | 18 // fetched. |
19 class CHROMEOS_EXPORT TpmPasswordFetcherDelegate { | 19 class CHROMEOS_EXPORT TpmPasswordFetcherDelegate { |
20 public: | 20 public: |
(...skipping 27 matching lines...) Expand all Loading... |
48 TpmPasswordFetcherDelegate* delegate_; | 48 TpmPasswordFetcherDelegate* delegate_; |
49 | 49 |
50 base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_; | 50 base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(TpmPasswordFetcher); | 52 DISALLOW_COPY_AND_ASSIGN(TpmPasswordFetcher); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace chromeos | 55 } // namespace chromeos |
56 | 56 |
57 #endif // CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ | 57 #endif // CHROMEOS_TPM_TPM_PASSWORD_FETCHER_H_ |
OLD | NEW |