summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/session_manager_client.h
diff options
context:
space:
mode:
authorsreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 19:28:44 +0000
committersreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 19:28:44 +0000
commit350928d345250305e13e1dec5d30d76ff119badd (patch)
tree77c62c856a1aea6737b8881c469508569ee36229 /chromeos/dbus/session_manager_client.h
parenta6f8cb73534952d34e66001f09443e6955b7302b (diff)
downloadchromium_src-350928d345250305e13e1dec5d30d76ff119badd.zip
chromium_src-350928d345250305e13e1dec5d30d76ff119badd.tar.gz
chromium_src-350928d345250305e13e1dec5d30d76ff119badd.tar.bz2
Revert 168563 - Wire up local account policy DBus calls in SessionManagerClient.
BUG=chromium-os:35715 TEST=None Review URL: https://chromiumcodereview.appspot.com/11360191 You had a green linux_chromeos try run, but unfortunately, clang is pickier: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20%28Clang%20dbg%29/builds/24522 TBR=mnissler@chromium.org Review URL: https://codereview.chromium.org/11308106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/session_manager_client.h')
-rw-r--r--chromeos/dbus/session_manager_client.h25
1 files changed, 5 insertions, 20 deletions
diff --git a/chromeos/dbus/session_manager_client.h b/chromeos/dbus/session_manager_client.h
index d7b91d4..ff38e8c 100644
--- a/chromeos/dbus/session_manager_client.h
+++ b/chromeos/dbus/session_manager_client.h
@@ -82,10 +82,9 @@ class CHROMEOS_EXPORT SessionManagerClient {
// need to know the current screen lock state when they are added.
virtual bool GetIsScreenLocked() = 0;
- // Used for RetrieveDevicePolicy, RetrieveUserPolicy and
- // RetrieveDeviceLocalAccountPolicy. Takes a serialized protocol buffer as
- // string. Upon success, we will pass a protobuf to the callback. On
- // failure, we will pass "".
+ // Used for RetrieveDevicePolicy and RetrieveUserPolicy. Takes a serialized
+ // protocol buffer as string. Upon success, we will pass a protobuf to the
+ // callback. On failure, we will pass "".
typedef base::Callback<void(const std::string&)> RetrievePolicyCallback;
// Fetches the device policy blob stored by the session manager. Upon
@@ -97,15 +96,8 @@ class CHROMEOS_EXPORT SessionManagerClient {
// call the provided callback.
virtual void RetrieveUserPolicy(const RetrievePolicyCallback& callback) = 0;
- // Fetches the policy blob associated with the specified device-local account
- // from session manager. |callback| is invoked up on completion.
- virtual void RetrieveDeviceLocalAccountPolicy(
- const std::string& account_id,
- const RetrievePolicyCallback& callback) = 0;
-
- // Used for StoreDevicePolicy, StoreUserPolicy and
- // StoreDeviceLocalAccountPolicy. Takes a boolean indicating whether the
- // operation was successful or not.
+ // Used for StoreDevicePolicy and StoreUserPolicy. Takes a boolean indicating
+ // whether the operation was successful or not.
typedef base::Callback<void(bool)> StorePolicyCallback;
// Attempts to asynchronously store |policy_blob| as device policy. Upon
@@ -119,13 +111,6 @@ class CHROMEOS_EXPORT SessionManagerClient {
virtual void StoreUserPolicy(const std::string& policy_blob,
const StorePolicyCallback& callback) = 0;
- // Sends a request to store a policy blob for the specified device-local
- // account. The result of the operation is reported through |callback|.
- virtual void StoreDeviceLocalAccountPolicy(
- const std::string& account_id,
- const std::string& policy_blob,
- const StorePolicyCallback& callback) = 0;
-
// Creates the instance.
static SessionManagerClient* Create(DBusClientImplementationType type,
dbus::Bus* bus);