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

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

Issue 686373002: Revert of Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/policy_watcher_linux.cc
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
index 3ffefeacba0a853ae2383d9ddb3c8c2b6c80dfcc..f4096b8507eee865a3fc8a3a50ea3ec802d64bb6 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -244,11 +244,10 @@
base::WeakPtrFactory<PolicyWatcherLinux> weak_factory_;
};
-scoped_ptr<PolicyWatcher> PolicyWatcher::Create(
- policy::PolicyService* policy_service,
+PolicyWatcher* PolicyWatcher::Create(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
base::FilePath policy_dir(kPolicyDir);
- return make_scoped_ptr(new PolicyWatcherLinux(task_runner, policy_dir));
+ return new PolicyWatcherLinux(task_runner, policy_dir);
}
} // namespace policy_hack
« no previous file with comments | « remoting/host/policy_hack/policy_watcher_chromeos.cc ('k') | remoting/host/policy_hack/policy_watcher_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698