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_CLOUD_POLICY_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_SERVICE_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_SERVICE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_SERVICE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "chrome/browser/policy/cloud_policy_client.h" | 15 #include "chrome/browser/policy/cloud_policy_client.h" |
17 #include "chrome/browser/policy/cloud_policy_constants.h" | 16 #include "chrome/browser/policy/cloud_policy_constants.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 70 |
72 // Callbacks to invoke upon policy refresh. | 71 // Callbacks to invoke upon policy refresh. |
73 std::vector<base::Closure> refresh_callbacks_; | 72 std::vector<base::Closure> refresh_callbacks_; |
74 | 73 |
75 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService); | 74 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService); |
76 }; | 75 }; |
77 | 76 |
78 } // namespace policy | 77 } // namespace policy |
79 | 78 |
80 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_SERVICE_H_ | 79 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_SERVICE_H_ |
OLD | NEW |