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

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

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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
« no previous file with comments | « chrome/browser/plugin_updater.h ('k') | chrome/browser/policy/file_based_policy_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 // ConfigurationPolicyProvider implementation: 42 // ConfigurationPolicyProvider implementation:
43 virtual bool Provide(ConfigurationPolicyStoreInterface* store); 43 virtual bool Provide(ConfigurationPolicyStoreInterface* store);
44 44
45 // DevicePolicyResponseDelegate implementation: 45 // DevicePolicyResponseDelegate implementation:
46 virtual void HandlePolicyResponse( 46 virtual void HandlePolicyResponse(
47 const em::DevicePolicyResponse& response); 47 const em::DevicePolicyResponse& response);
48 virtual void OnError(DeviceManagementBackend::ErrorCode code); 48 virtual void OnError(DeviceManagementBackend::ErrorCode code);
49 49
50 // DeviceTokenFetcher::Observer implementation: 50 // DeviceTokenFetcher::Observer implementation:
51 void OnTokenSuccess(); 51 virtual void OnTokenSuccess();
52 void OnTokenError(); 52 virtual void OnTokenError();
53 void OnNotManaged(); 53 virtual void OnNotManaged();
54 54
55 // True if a policy request has been sent to the device management backend 55 // True if a policy request has been sent to the device management backend
56 // server and no response or error has yet been received. 56 // server and no response or error has yet been received.
57 bool IsPolicyRequestPending() const { return policy_request_pending_; } 57 bool IsPolicyRequestPending() const { return policy_request_pending_; }
58 58
59 bool waiting_for_initial_policies() const { 59 bool waiting_for_initial_policies() const {
60 return waiting_for_initial_policies_; 60 return waiting_for_initial_policies_;
61 } 61 }
62 62
63 // Tells the provider that the passed in token service reference is about to 63 // Tells the provider that the passed in token service reference is about to
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 int64 policy_refresh_error_delay_ms_; 144 int64 policy_refresh_error_delay_ms_;
145 int64 token_fetch_error_delay_ms_; 145 int64 token_fetch_error_delay_ms_;
146 int64 unmanaged_device_refresh_rate_ms_; 146 int64 unmanaged_device_refresh_rate_ms_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(DeviceManagementPolicyProvider); 148 DISALLOW_COPY_AND_ASSIGN(DeviceManagementPolicyProvider);
149 }; 149 };
150 150
151 } // namespace policy 151 } // namespace policy
152 152
153 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_ 153 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_POLICY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_updater.h ('k') | chrome/browser/policy/file_based_policy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698