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

Side by Side Diff: chrome/browser/chromeos/policy/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 (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_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 // Shill. Certificates are imported with the chromeos::onc::CertificateImporter. 33 // Shill. Certificates are imported with the chromeos::onc::CertificateImporter.
34 // For user policies the subclass UserNetworkConfigurationUpdater must be used. 34 // For user policies the subclass UserNetworkConfigurationUpdater must be used.
35 // Does not handle proxy settings. 35 // Does not handle proxy settings.
36 class NetworkConfigurationUpdater : public PolicyService::Observer { 36 class NetworkConfigurationUpdater : public PolicyService::Observer {
37 public: 37 public:
38 virtual ~NetworkConfigurationUpdater(); 38 virtual ~NetworkConfigurationUpdater();
39 39
40 // PolicyService::Observer overrides 40 // PolicyService::Observer overrides
41 virtual void OnPolicyUpdated(const PolicyNamespace& ns, 41 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
42 const PolicyMap& previous, 42 const PolicyMap& previous,
43 const PolicyMap& current) OVERRIDE; 43 const PolicyMap& current) override;
44 virtual void OnPolicyServiceInitialized(PolicyDomain domain) OVERRIDE; 44 virtual void OnPolicyServiceInitialized(PolicyDomain domain) override;
45 45
46 protected: 46 protected:
47 NetworkConfigurationUpdater( 47 NetworkConfigurationUpdater(
48 onc::ONCSource onc_source, 48 onc::ONCSource onc_source,
49 std::string policy_key, 49 std::string policy_key,
50 PolicyService* policy_service, 50 PolicyService* policy_service,
51 chromeos::ManagedNetworkConfigurationHandler* network_config_handler); 51 chromeos::ManagedNetworkConfigurationHandler* network_config_handler);
52 52
53 virtual void Init(); 53 virtual void Init();
54 54
(...skipping 28 matching lines...) Expand all
83 83
84 // Used to retrieve the policies. 84 // Used to retrieve the policies.
85 PolicyService* policy_service_; 85 PolicyService* policy_service_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationUpdater); 87 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationUpdater);
88 }; 88 };
89 89
90 } // namespace policy 90 } // namespace policy
91 91
92 #endif // CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_ 92 #endif // CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698