| 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_POLICY_SERVICE_STUB_H_ | 5 #ifndef CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_ |
| 6 #define CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_ | 6 #define CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/policy/policy_service.h" | 10 #include "chrome/browser/policy/policy_service.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 virtual void RemoveObserver(PolicyDomain domain, | 25 virtual void RemoveObserver(PolicyDomain domain, |
| 26 const std::string& component_id, | 26 const std::string& component_id, |
| 27 Observer* observer) OVERRIDE; | 27 Observer* observer) OVERRIDE; |
| 28 | 28 |
| 29 virtual const PolicyMap* GetPolicies( | 29 virtual const PolicyMap* GetPolicies( |
| 30 PolicyDomain domain, | 30 PolicyDomain domain, |
| 31 const std::string& component_id) const OVERRIDE; | 31 const std::string& component_id) const OVERRIDE; |
| 32 | 32 |
| 33 virtual bool IsInitializationComplete() const OVERRIDE; | 33 virtual bool IsInitializationComplete() const OVERRIDE; |
| 34 |
| 35 virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE; |
| 34 private: | 36 private: |
| 35 DISALLOW_COPY_AND_ASSIGN(PolicyServiceStub); | 37 DISALLOW_COPY_AND_ASSIGN(PolicyServiceStub); |
| 36 }; | 38 }; |
| 37 | 39 |
| 38 } // namespace policy | 40 } // namespace policy |
| 39 | 41 |
| 40 #endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_ | 42 #endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_ |
| OLD | NEW |