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

Unified Diff: chrome/browser/chromeos/policy/enterprise_install_attributes.h

Issue 24869003: cryptohome: Move stateless wrapper functions out of CryptohomeLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 3 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
Index: chrome/browser/chromeos/policy/enterprise_install_attributes.h
diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes.h b/chrome/browser/chromeos/policy/enterprise_install_attributes.h
index fdb80a0104afe102cc25322816ae2fd0311a687e..b4fb2c03303a45df075ae47aba80d24711031609 100644
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes.h
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.h
@@ -17,10 +17,6 @@
#include "chromeos/dbus/cryptohome_client.h"
#include "chromeos/dbus/dbus_method_call_status.h"
-namespace chromeos {
-class CryptohomeLibrary;
-}
-
namespace policy {
// Brokers access to the enterprise-related installation-time attributes on
@@ -54,8 +50,7 @@ class EnterpriseInstallAttributes {
static const char kAttrEnterpriseUser[];
static const char kAttrConsumerKioskEnabled[];
- EnterpriseInstallAttributes(
- chromeos::CryptohomeLibrary* cryptohome,
+ explicit EnterpriseInstallAttributes(
chromeos::CryptohomeClient* cryptohome_client);
~EnterpriseInstallAttributes();
@@ -134,7 +129,6 @@ class EnterpriseInstallAttributes {
void OnReadImmutableAttributes(const std::string& user,
const LockResultCallback& callback);
- chromeos::CryptohomeLibrary* cryptohome_;
chromeos::CryptohomeClient* cryptohome_client_;
base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698