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

Side by Side Diff: components/policy/core/common/cloud/mock_device_management_service.h

Issue 108563005: Move the cloud policy protobufs into the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
12 #include "components/policy/core/common/cloud/device_management_service.h" 11 #include "components/policy/core/common/cloud/device_management_service.h"
12 #include "policy/proto/device_management_backend.pb.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 14
15 namespace policy { 15 namespace policy {
16 16
17 class MockDeviceManagementJob { 17 class MockDeviceManagementJob {
18 public: 18 public:
19 virtual ~MockDeviceManagementJob(); 19 virtual ~MockDeviceManagementJob();
20 virtual void RetryJob() = 0; 20 virtual void RetryJob() = 0;
21 virtual void SendResponse( 21 virtual void SendResponse(
22 DeviceManagementStatus status, 22 DeviceManagementStatus status,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 testing::Action<CreateJobFunction> CreateAsyncJob( 72 testing::Action<CreateJobFunction> CreateAsyncJob(
73 MockDeviceManagementJob** job); 73 MockDeviceManagementJob** job);
74 74
75 private: 75 private:
76 DISALLOW_COPY_AND_ASSIGN(MockDeviceManagementService); 76 DISALLOW_COPY_AND_ASSIGN(MockDeviceManagementService);
77 }; 77 };
78 78
79 } // namespace policy 79 } // namespace policy
80 80
81 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_ 81 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_DEVICE_MANAGEMENT_SERVICE_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/mock_cloud_policy_client.cc ('k') | components/policy/core/common/cloud/policy_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698