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

Side by Side Diff: chromeos/network/network_change_notifier_chromeos.cc

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
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 #include <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 10 matching lines...) Expand all
21 21
22 // DNS config services on Chrome OS are signalled by the network state handler 22 // DNS config services on Chrome OS are signalled by the network state handler
23 // rather than relying on watching files in /etc. 23 // rather than relying on watching files in /etc.
24 class NetworkChangeNotifierChromeos::DnsConfigService 24 class NetworkChangeNotifierChromeos::DnsConfigService
25 : public net::internal::DnsConfigServicePosix { 25 : public net::internal::DnsConfigServicePosix {
26 public: 26 public:
27 DnsConfigService(); 27 DnsConfigService();
28 virtual ~DnsConfigService(); 28 virtual ~DnsConfigService();
29 29
30 // net::internal::DnsConfigService() overrides. 30 // net::internal::DnsConfigService() overrides.
31 virtual bool StartWatching() OVERRIDE; 31 virtual bool StartWatching() override;
32 32
33 virtual void OnNetworkChange(); 33 virtual void OnNetworkChange();
34 }; 34 };
35 35
36 NetworkChangeNotifierChromeos::DnsConfigService::DnsConfigService() { 36 NetworkChangeNotifierChromeos::DnsConfigService::DnsConfigService() {
37 } 37 }
38 38
39 NetworkChangeNotifierChromeos::DnsConfigService::~DnsConfigService() { 39 NetworkChangeNotifierChromeos::DnsConfigService::~DnsConfigService() {
40 } 40 }
41 41
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // produce a single signal when switching between network connections. 231 // produce a single signal when switching between network connections.
232 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); 232 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000);
233 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); 233 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000);
234 params.connection_type_offline_delay_ = 234 params.connection_type_offline_delay_ =
235 base::TimeDelta::FromMilliseconds(500); 235 base::TimeDelta::FromMilliseconds(500);
236 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); 236 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500);
237 return params; 237 return params;
238 } 238 }
239 239
240 } // namespace chromeos 240 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_change_notifier_chromeos.h ('k') | chromeos/network/network_change_notifier_factory_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698