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

Unified Diff: remoting/host/policy_hack/fake_policy_watcher.cc

Issue 858303003: Removing FakePolicyWatcher and introducing FakeAsyncPolicyLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: remoting/host/policy_hack/fake_policy_watcher.cc
diff --git a/remoting/host/policy_hack/fake_policy_watcher.cc b/remoting/host/policy_hack/fake_policy_watcher.cc
deleted file mode 100644
index e80c676248cdd24b0f16bfad4dc198135069f544..0000000000000000000000000000000000000000
--- a/remoting/host/policy_hack/fake_policy_watcher.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "remoting/host/policy_hack/fake_policy_watcher.h"
-
-#include "base/single_thread_task_runner.h"
-
-namespace remoting {
-namespace policy_hack {
-
-FakePolicyWatcher::FakePolicyWatcher(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner)
- : PolicyWatcher(task_runner) {
-}
-
-FakePolicyWatcher::~FakePolicyWatcher() {
-}
-
-void FakePolicyWatcher::SetPolicies(const base::DictionaryValue* policies) {
- UpdatePolicies(policies);
-}
-
-void FakePolicyWatcher::SignalTransientErrorForTest() {
- SignalTransientPolicyError();
-}
-
-void FakePolicyWatcher::StartWatchingInternal() {
-}
-
-void FakePolicyWatcher::StopWatchingInternal() {
-}
-
-} // namespace policy_hack
-} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698