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

Unified Diff: mock_device_policy.h

Issue 6815021: [login_manager] Code to add the owner to the whitelist in a device policy (Closed) Base URL: http://git.chromium.org/git/login_manager.git@master
Patch Set: address gauravsh comments Created 9 years, 8 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 | « device_policy_unittest.cc ('k') | mock_owner_key.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mock_device_policy.h
diff --git a/mock_device_policy.h b/mock_device_policy.h
index 75ebff53fd9f73a7e6acd5f7a994555094118181..7b70f3a3996cd49d0f9d19411785b570d76d87f9 100644
--- a/mock_device_policy.h
+++ b/mock_device_policy.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,7 +17,8 @@ class MockDevicePolicy : public DevicePolicy {
virtual ~MockDevicePolicy() {}
MOCK_METHOD0(LoadOrCreate, bool(void));
MOCK_METHOD0(Persist, bool(void));
- MOCK_CONST_METHOD1(Get, bool(std::string*));
+ MOCK_CONST_METHOD0(Get, const enterprise_management::PolicyFetchResponse&());
+ MOCK_CONST_METHOD1(SerializeToString, bool(std::string*));
MOCK_METHOD1(Set, void(const enterprise_management::PolicyFetchResponse&));
};
} // namespace login_manager
« no previous file with comments | « device_policy_unittest.cc ('k') | mock_owner_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698