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

Unified Diff: remoting/host/policy_hack/mock_policy_callback.h

Issue 722743003: Reporting of policy errors via host-offline-reason: part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and reopened to try memory trybots. Created 6 years, 1 month 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 | « remoting/host/policy_hack/fake_policy_watcher.cc ('k') | remoting/host/policy_hack/mock_policy_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/mock_policy_callback.h
diff --git a/remoting/host/policy_hack/mock_policy_callback.h b/remoting/host/policy_hack/mock_policy_callback.h
index 2ae9b0ddeecc194c2685e45f2664b504cf44fd94..e0e57527961cf2df5abc783a87da1f5970ebf79b 100644
--- a/remoting/host/policy_hack/mock_policy_callback.h
+++ b/remoting/host/policy_hack/mock_policy_callback.h
@@ -21,6 +21,9 @@ class MockPolicyCallback {
MOCK_METHOD1(OnPolicyUpdatePtr, void(const base::DictionaryValue* policies));
void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies);
+ MOCK_METHOD0(OnPolicyErrorPtr, void());
+ void OnPolicyError();
+
private:
DISALLOW_COPY_AND_ASSIGN(MockPolicyCallback);
};
« no previous file with comments | « remoting/host/policy_hack/fake_policy_watcher.cc ('k') | remoting/host/policy_hack/mock_policy_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698