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

Side by Side Diff: remoting/host/policy_hack/policy_watcher_win.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Most of this code is copied from various classes in 5 // Most of this code is copied from various classes in
6 // src/chrome/browser/policy. In particular, look at 6 // src/chrome/browser/policy. In particular, look at
7 // 7 //
8 // configuration_policy_provider_delegate_win.{h,cc} 8 // configuration_policy_provider_delegate_win.{h,cc}
9 // configuration_policy_loader_win.{h,cc} 9 // configuration_policy_loader_win.{h,cc}
10 // 10 //
11 // This is a reduction of the functionality in those classes. 11 // This is a reduction of the functionality in those classes.
12 12
13 #include "remoting/host/policy_hack/policy_watcher.h" 13 #include "remoting/host/policy_hack/policy_watcher.h"
14 14
15 #include <userenv.h> 15 #include <userenv.h>
16 16
17 #include "base/compiler_specific.h" 17 #include "base/compiler_specific.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/message_loop_proxy.h" 19 #include "base/message_loop/message_loop_proxy.h"
20 #include "base/string16.h" 20 #include "base/string16.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/synchronization/waitable_event.h" 22 #include "base/synchronization/waitable_event.h"
23 #include "base/values.h" 23 #include "base/values.h"
24 #include "base/win/object_watcher.h" 24 #include "base/win/object_watcher.h"
25 #include "base/win/registry.h" 25 #include "base/win/registry.h"
26 26
27 // userenv.dll is required for RegisterGPNotification(). 27 // userenv.dll is required for RegisterGPNotification().
28 #pragma comment(lib, "userenv.lib") 28 #pragma comment(lib, "userenv.lib")
29 29
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool machine_policy_watcher_failed_; 216 bool machine_policy_watcher_failed_;
217 }; 217 };
218 218
219 PolicyWatcher* PolicyWatcher::Create( 219 PolicyWatcher* PolicyWatcher::Create(
220 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 220 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
221 return new PolicyWatcherWin(task_runner); 221 return new PolicyWatcherWin(task_runner);
222 } 222 }
223 223
224 } // namespace policy_hack 224 } // namespace policy_hack
225 } // namespace remoting 225 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698