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

Side by Side Diff: net/dns/dns_config_service_win.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/dns/dns_config_service_unittest.cc ('k') | net/dns/dns_config_service_win.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 NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_WIN_H_
6 #define NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ 6 #define NET_DNS_DNS_CONFIG_SERVICE_WIN_H_
7 7
8 // The sole purpose of dns_config_service_win.h is for unittests so we just 8 // The sole purpose of dns_config_service_win.h is for unittests so we just
9 // include these headers here. 9 // include these headers here.
10 #include <winsock2.h> 10 #include <winsock2.h>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 public: 118 public:
119 DnsConfigServiceWin(); 119 DnsConfigServiceWin();
120 virtual ~DnsConfigServiceWin(); 120 virtual ~DnsConfigServiceWin();
121 121
122 private: 122 private:
123 class Watcher; 123 class Watcher;
124 class ConfigReader; 124 class ConfigReader;
125 class HostsReader; 125 class HostsReader;
126 126
127 // DnsConfigService: 127 // DnsConfigService:
128 virtual void ReadNow() OVERRIDE; 128 virtual void ReadNow() override;
129 virtual bool StartWatching() OVERRIDE; 129 virtual bool StartWatching() override;
130 130
131 void OnConfigChanged(bool succeeded); 131 void OnConfigChanged(bool succeeded);
132 void OnHostsChanged(bool succeeded); 132 void OnHostsChanged(bool succeeded);
133 133
134 scoped_ptr<Watcher> watcher_; 134 scoped_ptr<Watcher> watcher_;
135 scoped_refptr<ConfigReader> config_reader_; 135 scoped_refptr<ConfigReader> config_reader_;
136 scoped_refptr<HostsReader> hosts_reader_; 136 scoped_refptr<HostsReader> hosts_reader_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); 138 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin);
139 }; 139 };
140 140
141 } // namespace internal 141 } // namespace internal
142 142
143 } // namespace net 143 } // namespace net
144 144
145 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ 145 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_
146 146
OLDNEW
« no previous file with comments | « net/dns/dns_config_service_unittest.cc ('k') | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698