OLD | NEW |
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 #ifndef CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ |
6 #define CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ | 6 #define CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
14 #include "chrome/browser/policy/configuration_policy_provider.h" | 13 #include "chrome/browser/policy/configuration_policy_provider.h" |
15 | 14 |
16 namespace base { | 15 namespace base { |
17 class MessageLoopProxy; | 16 class MessageLoopProxy; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // Callback used to synchronize RefreshPolicies() calls with the FILE thread. | 62 // Callback used to synchronize RefreshPolicies() calls with the FILE thread. |
64 // See the implementation for the details. | 63 // See the implementation for the details. |
65 base::CancelableClosure refresh_callback_; | 64 base::CancelableClosure refresh_callback_; |
66 | 65 |
67 DISALLOW_COPY_AND_ASSIGN(AsyncPolicyProvider); | 66 DISALLOW_COPY_AND_ASSIGN(AsyncPolicyProvider); |
68 }; | 67 }; |
69 | 68 |
70 } // namespace policy | 69 } // namespace policy |
71 | 70 |
72 #endif // CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ | 71 #endif // CHROME_BROWSER_POLICY_ASYNC_POLICY_PROVIDER_H_ |
OLD | NEW |