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

Unified Diff: chromeos/tpm_password_fetcher.h

Issue 402403004: Refactoring : Move OnlineAttempt to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet another merge with ToT Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/login/auth/online_attempt_host.cc ('k') | chromeos/tpm_password_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/tpm_password_fetcher.h
diff --git a/chrome/browser/chromeos/login/auth/tpm_password_fetcher.h b/chromeos/tpm_password_fetcher.h
similarity index 84%
rename from chrome/browser/chromeos/login/auth/tpm_password_fetcher.h
rename to chromeos/tpm_password_fetcher.h
index 6d3553d9ad7f76aadb81220758cad5d371ec0724..f92454c73bb726fd9bed8bbe39ddb6a6e1b914ed 100644
--- a/chrome/browser/chromeos/login/auth/tpm_password_fetcher.h
+++ b/chromeos/tpm_password_fetcher.h
@@ -2,27 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TPM_PASSWORD_FETCHER_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TPM_PASSWORD_FETCHER_H_
+#ifndef CHROMEOS_TPM_PASSWORD_FETCHER_H_
+#define CHROMEOS_TPM_PASSWORD_FETCHER_H_
#include <string>
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
+#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_method_call_status.h"
namespace chromeos {
// Interface which TpmPasswordFetcher uses to notify that password has been
// fetched.
-class TpmPasswordFetcherDelegate {
+class CHROMEOS_EXPORT TpmPasswordFetcherDelegate {
public:
virtual ~TpmPasswordFetcherDelegate() {}
virtual void OnPasswordFetched(const std::string& tpm_password) = 0;
};
// Class for fetching TPM password from the Cryptohome.
-class TpmPasswordFetcher {
+class CHROMEOS_EXPORT TpmPasswordFetcher {
public:
// Creates fetcher with the given delegate to be notified every time fetching
// is done.
@@ -52,4 +53,4 @@ class TpmPasswordFetcher {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TPM_PASSWORD_FETCHER_H_
+#endif // CHROMEOS_TPM_PASSWORD_FETCHER_H_
« no previous file with comments | « chromeos/login/auth/online_attempt_host.cc ('k') | chromeos/tpm_password_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698