Home
last modified time | relevance | path

Searched refs:PolicyFetchResponse (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/policy/
Duser_policy_cache_unittest.cc64 em::PolicyFetchResponse* CreateHomepagePolicy( in CreateHomepagePolicy()
83 em::PolicyFetchResponse* response = new em::PolicyFetchResponse; in CreateHomepagePolicy()
92 void WritePolicy(const em::PolicyFetchResponse& policy) { in WritePolicy()
103 em::PolicyFetchResponse* policy_response, in SetPolicy()
105 scoped_ptr<em::PolicyFetchResponse> policy(policy_response); in SetPolicy()
211 scoped_ptr<em::PolicyFetchResponse> policy_response( in TEST_F()
224 scoped_ptr<em::PolicyFetchResponse> policy_response( in TEST_F()
237 scoped_ptr<em::PolicyFetchResponse> policy( in TEST_F()
252 em::PolicyFetchResponse* policy = in TEST_F()
257 em::PolicyFetchResponse* policy2 = in TEST_F()
[all …]
Ddevice_policy_cache_unittest.cc31 MOCK_METHOD2(StartStorePolicyOp, void(const em::PolicyFetchResponse&,
60 void CreateRefreshRatePolicy(em::PolicyFetchResponse* policy, in CreateRefreshRatePolicy()
78 void CreateProxyPolicy(em::PolicyFetchResponse* policy, in CreateProxyPolicy()
145 em::PolicyFetchResponse policy; in TEST_F()
163 em::PolicyFetchResponse policy; in TEST_F()
175 em::PolicyFetchResponse new_policy; in TEST_F()
195 em::PolicyFetchResponse policy; in TEST_F()
204 em::PolicyFetchResponse new_policy; in TEST_F()
219 em::PolicyFetchResponse policy; in TEST_F()
228 em::PolicyFetchResponse new_policy; in TEST_F()
[all …]
Dcloud_policy_cache_base.h50 virtual void SetPolicy(const em::PolicyFetchResponse& policy) = 0;
83 bool SetPolicyInternal(const em::PolicyFetchResponse& policy,
97 bool DecodePolicyResponse(const em::PolicyFetchResponse& policy_response,
Duser_policy_cache.cc34 const em::PolicyFetchResponse* cloud_policy_response, in PersistPolicyTask()
45 scoped_ptr<const em::PolicyFetchResponse> cloud_policy_response_;
110 void UserPolicyCache::SetPolicy(const em::PolicyFetchResponse& policy) { in SetPolicy()
127 void UserPolicyCache::PersistPolicy(const em::PolicyFetchResponse& policy, in PersistPolicy()
134 em::PolicyFetchResponse* policy_copy = new em::PolicyFetchResponse; in PersistPolicy()
Duser_policy_cache.h31 virtual void SetPolicy(const em::PolicyFetchResponse& policy) OVERRIDE;
35 void PersistPolicy(const em::PolicyFetchResponse& policy,
Ddevice_policy_cache.h36 virtual void SetPolicy(const em::PolicyFetchResponse& policy) OVERRIDE;
42 const em::PolicyFetchResponse& policy) OVERRIDE;
Ddevice_policy_cache.cc36 const em::PolicyFetchResponse& policy, in StorePolicyOperation()
89 em::PolicyFetchResponse policy_;
141 void DevicePolicyCache::SetPolicy(const em::PolicyFetchResponse& policy) { in SetPolicy()
186 const em::PolicyFetchResponse& policy) { in OnRetrievePolicyCompleted()
Dcloud_policy_cache_base.cc87 const em::PolicyFetchResponse& policy, in SetPolicyInternal()
154 const em::PolicyFetchResponse& policy_response, in DecodePolicyResponse()
Dmock_device_management_backend.h79 em::PolicyFetchResponse* fetch_response = response.add_response(); in ACTION()
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings.h34 class PolicyFetchResponse; variable
87 em::PolicyFetchResponse* policy,
91 SignedSettings::Delegate<const em::PolicyFetchResponse&>* d);
106 static bool PolicyIsSane(const em::PolicyFetchResponse& value,
120 : public SignedSettings::Delegate<const em::PolicyFetchResponse&> {
127 const em::PolicyFetchResponse& value);
Dsigned_settings.cc38 const em::PolicyFetchResponse& value) { in OnSettingsOpCompleted()
62 bool SignedSettings::PolicyIsSane(const em::PolicyFetchResponse& value, in PolicyIsSane()
155 em::PolicyFetchResponse to_store_;
188 em::PolicyFetchResponse to_store_;
222 StorePolicyOp(em::PolicyFetchResponse* policy,
240 em::PolicyFetchResponse* policy_;
249 SignedSettings::Delegate<const em::PolicyFetchResponse&>* d);
253 void Succeed(const em::PolicyFetchResponse& value);
267 const em::PolicyFetchResponse& value);
271 em::PolicyFetchResponse policy_;
[all …]
Dsigned_settings_unittest.cc85 class ProtoDelegate : public DummyDelegate<const em::PolicyFetchResponse&> {
87 explicit ProtoDelegate(const em::PolicyFetchResponse& e) in ProtoDelegate()
88 : DummyDelegate<const em::PolicyFetchResponse&>(e) { in ProtoDelegate()
92 virtual void compare_expected(const em::PolicyFetchResponse& to_compare) { in compare_expected()
218 em::PolicyFetchResponse fake_policy; in FailingStorePolicyOp()
264 em::PolicyFetchResponse BuildProto(const std::string& data, in BuildProto()
267 em::PolicyFetchResponse fake_policy; in BuildProto()
556 em::PolicyFetchResponse signed_policy = BuildProto(data, in TEST_F()
596 em::PolicyFetchResponse fake_policy = BuildProto(data_serialized, in TEST_F()
615 em::PolicyFetchResponse signed_policy = BuildProto(data_serialized, in TEST_F()
[all …]
Dsigned_settings_helper.h14 class PolicyFetchResponse; variable
60 const em::PolicyFetchResponse& policy) {} in OnRetrievePolicyCompleted()
77 virtual void StartStorePolicyOp(const em::PolicyFetchResponse& policy,
Dsigned_settings_helper.cc236 StorePolicyOpContext(const em::PolicyFetchResponse& policy, in StorePolicyOpContext()
259 em::PolicyFetchResponse policy_;
264 : public SignedSettings::Delegate<const em::PolicyFetchResponse&>,
275 const em::PolicyFetchResponse& policy) OVERRIDE { in OnSettingsOpCompleted()
308 virtual void StartStorePolicyOp(const em::PolicyFetchResponse& policy,
387 const em::PolicyFetchResponse& policy, in StartStorePolicyOp()
/external/chromium/chrome/browser/policy/proto/
Ddevice_management_local.proto23 // The PolicyFetchResponse wrapped by this message.
24 optional PolicyFetchResponse cloud_policy = 4;
Ddevice_management_backend.proto118 // This message is included in serialized form in PolicyFetchResponse
166 message PolicyFetchResponse { message
210 repeated PolicyFetchResponse response = 3;
/external/chromium/chrome/browser/chromeos/cros/
Dlogin_library.cc202 : public SignedSettings::Delegate<const em::PolicyFetchResponse&> {
210 const em::PolicyFetchResponse& value) { in OnSettingsOpCompleted()