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

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

Issue 10236003: Added RefreshPolicies to PolicyService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
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 #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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698