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

Side by Side Diff: chrome/browser/chromeos/policy/user_network_configuration_updater.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 PolicyService* policy_service, 95 PolicyService* policy_service,
96 chromeos::ManagedNetworkConfigurationHandler* network_config_handler); 96 chromeos::ManagedNetworkConfigurationHandler* network_config_handler);
97 97
98 // Called by the CertificateImporter when an import finished. 98 // Called by the CertificateImporter when an import finished.
99 void OnCertificatesImported( 99 void OnCertificatesImported(
100 bool success, 100 bool success,
101 const net::CertificateList& onc_trusted_certificates); 101 const net::CertificateList& onc_trusted_certificates);
102 102
103 // NetworkConfigurationUpdater: 103 // NetworkConfigurationUpdater:
104 virtual void ImportCertificates( 104 virtual void ImportCertificates(
105 const base::ListValue& certificates_onc) OVERRIDE; 105 const base::ListValue& certificates_onc) override;
106 virtual void ApplyNetworkPolicy( 106 virtual void ApplyNetworkPolicy(
107 base::ListValue* network_configs_onc, 107 base::ListValue* network_configs_onc,
108 base::DictionaryValue* global_network_config) OVERRIDE; 108 base::DictionaryValue* global_network_config) override;
109 109
110 // content::NotificationObserver implementation. Observes the profile to which 110 // content::NotificationObserver implementation. Observes the profile to which
111 // |this| belongs to for PROFILE_ADDED notification. 111 // |this| belongs to for PROFILE_ADDED notification.
112 virtual void Observe(int type, 112 virtual void Observe(int type,
113 const content::NotificationSource& source, 113 const content::NotificationSource& source,
114 const content::NotificationDetails& details) OVERRIDE; 114 const content::NotificationDetails& details) override;
115 115
116 // Creates onc::CertImporter with |database| and passes it to 116 // Creates onc::CertImporter with |database| and passes it to
117 // |SetCertificateImporter|. 117 // |SetCertificateImporter|.
118 void CreateAndSetCertificateImporter(net::NSSCertDatabase* database); 118 void CreateAndSetCertificateImporter(net::NSSCertDatabase* database);
119 119
120 // Sets the certificate importer that should be used to import certificate 120 // Sets the certificate importer that should be used to import certificate
121 // policies. If there is |pending_certificates_onc_|, it gets imported. 121 // policies. If there is |pending_certificates_onc_|, it gets imported.
122 void SetCertificateImporter( 122 void SetCertificateImporter(
123 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer); 123 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer);
124 124
(...skipping 23 matching lines...) Expand all
148 content::NotificationRegistrar registrar_; 148 content::NotificationRegistrar registrar_;
149 149
150 base::WeakPtrFactory<UserNetworkConfigurationUpdater> weak_factory_; 150 base::WeakPtrFactory<UserNetworkConfigurationUpdater> weak_factory_;
151 151
152 DISALLOW_COPY_AND_ASSIGN(UserNetworkConfigurationUpdater); 152 DISALLOW_COPY_AND_ASSIGN(UserNetworkConfigurationUpdater);
153 }; 153 };
154 154
155 } // namespace policy 155 } // namespace policy
156 156
157 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_ 157 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698