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

Side by Side Diff: remoting/host/policy_hack/policy_watcher_mac.mm

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DEPS to remoting/host 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/policy_hack/policy_watcher.h" 5 #include "remoting/host/policy_hack/policy_watcher.h"
6 6
7 #include <CoreFoundation/CoreFoundation.h> 7 #include <CoreFoundation/CoreFoundation.h>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/mac/foundation_util.h" 10 #include "base/mac/foundation_util.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Set policy. Policy must be set (even if it is empty) so that the 80 // Set policy. Policy must be set (even if it is empty) so that the
81 // default policy is picked up the first time reload is called. 81 // default policy is picked up the first time reload is called.
82 UpdatePolicies(&policy); 82 UpdatePolicies(&policy);
83 83
84 // Reschedule task. 84 // Reschedule task.
85 ScheduleFallbackReloadTask(); 85 ScheduleFallbackReloadTask();
86 } 86 }
87 }; 87 };
88 88
89 PolicyWatcher* PolicyWatcher::Create( 89 PolicyWatcher* PolicyWatcher::Create(
90 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 90 ChromotingHostContext* context,
91 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
91 return new PolicyWatcherMac(task_runner); 92 return new PolicyWatcherMac(task_runner);
92 } 93 }
93 94
94 } // namespace policy_hack 95 } // namespace policy_hack
95 } // namespace remoting 96 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698