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

Side by Side Diff: chromeos/network/onc/onc_normalizer.h

Issue 628883002: replace OVERRIDE and FINAL with override and final in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chromeos/network/onc/onc_merger.cc ('k') | chromeos/network/onc/onc_utils.cc » ('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) 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 CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_ 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_
6 #define CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_ 6 #define CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chromeos/chromeos_export.h" 9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/network/onc/onc_mapper.h" 10 #include "chromeos/network/onc/onc_mapper.h"
(...skipping 16 matching lines...) Expand all
27 // |onc_signature.h|. 27 // |onc_signature.h|.
28 scoped_ptr<base::DictionaryValue> NormalizeObject( 28 scoped_ptr<base::DictionaryValue> NormalizeObject(
29 const OncValueSignature* object_signature, 29 const OncValueSignature* object_signature,
30 const base::DictionaryValue& onc_object); 30 const base::DictionaryValue& onc_object);
31 31
32 private: 32 private:
33 // Dispatch to the right normalization function according to |signature|. 33 // Dispatch to the right normalization function according to |signature|.
34 virtual scoped_ptr<base::DictionaryValue> MapObject( 34 virtual scoped_ptr<base::DictionaryValue> MapObject(
35 const OncValueSignature& signature, 35 const OncValueSignature& signature,
36 const base::DictionaryValue& onc_object, 36 const base::DictionaryValue& onc_object,
37 bool* error) OVERRIDE; 37 bool* error) override;
38 38
39 void NormalizeCertificate(base::DictionaryValue* cert); 39 void NormalizeCertificate(base::DictionaryValue* cert);
40 void NormalizeEAP(base::DictionaryValue* eap); 40 void NormalizeEAP(base::DictionaryValue* eap);
41 void NormalizeEthernet(base::DictionaryValue* ethernet); 41 void NormalizeEthernet(base::DictionaryValue* ethernet);
42 void NormalizeIPsec(base::DictionaryValue* ipsec); 42 void NormalizeIPsec(base::DictionaryValue* ipsec);
43 void NormalizeNetworkConfiguration(base::DictionaryValue* network); 43 void NormalizeNetworkConfiguration(base::DictionaryValue* network);
44 void NormalizeOpenVPN(base::DictionaryValue* openvpn); 44 void NormalizeOpenVPN(base::DictionaryValue* openvpn);
45 void NormalizeProxySettings(base::DictionaryValue* proxy); 45 void NormalizeProxySettings(base::DictionaryValue* proxy);
46 void NormalizeVPN(base::DictionaryValue* vpn); 46 void NormalizeVPN(base::DictionaryValue* vpn);
47 void NormalizeWiFi(base::DictionaryValue* wifi); 47 void NormalizeWiFi(base::DictionaryValue* wifi);
48 48
49 const bool remove_recommended_fields_; 49 const bool remove_recommended_fields_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(Normalizer); 51 DISALLOW_COPY_AND_ASSIGN(Normalizer);
52 }; 52 };
53 53
54 } // namespace onc 54 } // namespace onc
55 } // namespace chromeos 55 } // namespace chromeos
56 56
57 #endif // CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_ 57 #endif // CHROMEOS_NETWORK_ONC_ONC_NORMALIZER_H_
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_merger.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698