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

Side by Side Diff: chrome/browser/policy/configuration_policy_loader_win.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/policy/device_token_fetcher.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/win/object_watcher.h" 10 #include "base/win/object_watcher.h"
11 #include "chrome/browser/policy/asynchronous_policy_loader.h" 11 #include "chrome/browser/policy/asynchronous_policy_loader.h"
12 12
13 namespace policy { 13 namespace policy {
14 14
15 // Keeps watch on Windows Group Policy notification event to trigger a policy 15 // Keeps watch on Windows Group Policy notification event to trigger a policy
16 // reload when Group Policy changes. 16 // reload when Group Policy changes.
17 class ConfigurationPolicyLoaderWin 17 class ConfigurationPolicyLoaderWin
18 : public AsynchronousPolicyLoader, 18 : public AsynchronousPolicyLoader,
19 public base::win::ObjectWatcher::Delegate, 19 public base::win::ObjectWatcher::Delegate,
(...skipping 28 matching lines...) Expand all
48 base::win::ObjectWatcher machine_policy_watcher_; 48 base::win::ObjectWatcher machine_policy_watcher_;
49 bool user_policy_watcher_failed_; 49 bool user_policy_watcher_failed_;
50 bool machine_policy_watcher_failed_; 50 bool machine_policy_watcher_failed_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyLoaderWin); 52 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyLoaderWin);
53 }; 53 };
54 54
55 } // namespace policy 55 } // namespace policy
56 56
57 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_ 57 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_LOADER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/policy/device_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698