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

Unified Diff: components/policy/core/common/policy_service_stub.h

Issue 935333004: Fix some virtual vs override issues in PolicyServiceStub (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_service_stub.h
diff --git a/components/policy/core/common/policy_service_stub.h b/components/policy/core/common/policy_service_stub.h
index 532bf5215b71e193216de0bb7e531e5872cbce0f..c049b0d22b9b5e9fdf0043b60cf08fb43a257e55 100644
--- a/components/policy/core/common/policy_service_stub.h
+++ b/components/policy/core/common/policy_service_stub.h
@@ -17,20 +17,20 @@ namespace policy {
class POLICY_EXPORT PolicyServiceStub : public PolicyService {
public:
PolicyServiceStub();
- virtual ~PolicyServiceStub();
+ ~PolicyServiceStub() override;
- virtual void AddObserver(PolicyDomain domain,
- Observer* observer) override;
+ void AddObserver(PolicyDomain domain,
+ Observer* observer) override;
- virtual void RemoveObserver(PolicyDomain domain,
- Observer* observer) override;
+ void RemoveObserver(PolicyDomain domain,
+ Observer* observer) override;
- virtual const PolicyMap& GetPolicies(
+ const PolicyMap& GetPolicies(
const PolicyNamespace& ns) const override;
- virtual bool IsInitializationComplete(PolicyDomain domain) const override;
+ bool IsInitializationComplete(PolicyDomain domain) const override;
- virtual void RefreshPolicies(const base::Closure& callback) override;
+ void RefreshPolicies(const base::Closure& callback) override;
private:
const PolicyMap kEmpty_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698