From 63ebbf2296e2ae5437f7c50892cb514d6590ba5c Mon Sep 17 00:00:00 2001 From: "joaodasilva@chromium.org" Date: Thu, 1 May 2014 21:53:56 +0000 Subject: Enable Enterprise enrollment on desktop builds. This change implements some of the DBus stub methods so that enterprise enrollment works on desktop builds. That will make development of features that depend on enrollment faster for developers that use this workflow (e.g. for kiosk enterprise apps, public accounts, testing some device policies, etc). - Override some of the directories and files involved with the enrollment state - Simple stub implementation of the DBus calls involved - Write a persistent cache of the install attributes - Cleaned up the stub for user cloud policy and made them persistent too - Updated some tests This change doesn't affect production code. TBR=jochen@chromium.org BUG=240269, 367674 Review URL: https://codereview.chromium.org/258743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267640 0039d316-1c4b-4281-b951-d872f2087c98 --- chromeos/dbus/mock_session_manager_client.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chromeos/dbus/mock_session_manager_client.h') diff --git a/chromeos/dbus/mock_session_manager_client.h b/chromeos/dbus/mock_session_manager_client.h index aa7e271..7d679b8 100644 --- a/chromeos/dbus/mock_session_manager_client.h +++ b/chromeos/dbus/mock_session_manager_client.h @@ -43,10 +43,9 @@ class MockSessionManagerClient : public SessionManagerClient { MOCK_METHOD2(StoreDevicePolicy, void(const std::string&, const StorePolicyCallback&)); - MOCK_METHOD4(StorePolicyForUser, + MOCK_METHOD3(StorePolicyForUser, void(const std::string&, const std::string&, - const std::string&, const StorePolicyCallback&)); MOCK_METHOD3(StoreDeviceLocalAccountPolicy, void(const std::string&, -- cgit v1.1