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

Unified Diff: chrome/browser/policy/mock_device_management_service.h

Issue 8952027: base::Callback-ify policy::DeviceManagementService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments. Created 8 years, 12 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 | « chrome/browser/policy/device_management_service_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/mock_device_management_service.h
diff --git a/chrome/browser/policy/mock_device_management_service.h b/chrome/browser/policy/mock_device_management_service.h
index 9f999b136e8394c3be26b950ecd6311404cb3120..7a6303bd8659e4048f5bd80b9d8c690c53a9a7e7 100644
--- a/chrome/browser/policy/mock_device_management_service.h
+++ b/chrome/browser/policy/mock_device_management_service.h
@@ -59,7 +59,6 @@ class MockDeviceManagementService : public DeviceManagementService {
virtual ~MockDeviceManagementService();
MOCK_METHOD0(CreateBackend, DeviceManagementBackend*());
- MOCK_METHOD2(StartJob, void(DeviceManagementJob*, bool));
// This method bypasses the mocked version and calls the superclass'
// CreateBackend(), returning a "real" backend.
@@ -67,12 +66,6 @@ class MockDeviceManagementService : public DeviceManagementService {
return DeviceManagementService::CreateBackend();
}
- // This method bypasses the mocked version and calls the superclass'
- // StartJob.
- void StartJobNotMocked(DeviceManagementJob* job, bool bypass_proxy) {
- DeviceManagementService::StartJob(job, bypass_proxy);
- }
-
private:
DISALLOW_COPY_AND_ASSIGN(MockDeviceManagementService);
};
« no previous file with comments | « chrome/browser/policy/device_management_service_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698