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

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

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on ozone 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 f4096b8507eee865a3fc8a3a50ea3ec802d64bb6..3ffefeacba0a853ae2383d9ddb3c8c2b6c80dfcc 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -244,10 +244,11 @@ class PolicyWatcherLinux : public PolicyWatcher {
base::WeakPtrFactory<PolicyWatcherLinux> weak_factory_;
};
-PolicyWatcher* PolicyWatcher::Create(
+scoped_ptr<PolicyWatcher> PolicyWatcher::Create(
+ policy::PolicyService* policy_service,
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
base::FilePath policy_dir(kPolicyDir);
- return new PolicyWatcherLinux(task_runner, policy_dir);
+ return make_scoped_ptr(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