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

Side by Side Diff: chrome/browser/extensions/api/mdns/dns_sd_device_lister.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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 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_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h" 10 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h"
(...skipping 14 matching lines...) Expand all
25 local_discovery::ServiceDiscoveryClient* service_discovery_client, 25 local_discovery::ServiceDiscoveryClient* service_discovery_client,
26 DnsSdDelegate* delegate, 26 DnsSdDelegate* delegate,
27 const std::string& service_type); 27 const std::string& service_type);
28 virtual ~DnsSdDeviceLister(); 28 virtual ~DnsSdDeviceLister();
29 29
30 virtual void Discover(bool force_update); 30 virtual void Discover(bool force_update);
31 31
32 protected: 32 protected:
33 virtual void OnDeviceChanged( 33 virtual void OnDeviceChanged(
34 bool added, 34 bool added,
35 const local_discovery::ServiceDescription& service_description) OVERRIDE; 35 const local_discovery::ServiceDescription& service_description) override;
36 virtual void OnDeviceRemoved(const std::string& service_name) OVERRIDE; 36 virtual void OnDeviceRemoved(const std::string& service_name) override;
37 virtual void OnDeviceCacheFlushed() OVERRIDE; 37 virtual void OnDeviceCacheFlushed() override;
38 38
39 private: 39 private:
40 // The delegate to notify of changes to services. 40 // The delegate to notify of changes to services.
41 DnsSdDelegate* const delegate_; 41 DnsSdDelegate* const delegate_;
42 local_discovery::ServiceDiscoveryDeviceLister device_lister_; 42 local_discovery::ServiceDiscoveryDeviceLister device_lister_;
43 bool started_; 43 bool started_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(DnsSdDeviceLister); 45 DISALLOW_COPY_AND_ASSIGN(DnsSdDeviceLister);
46 }; 46 };
47 47
48 } // namespace extensions 48 } // namespace extensions
49 49
50 #endif // CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_ 50 #endif // CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DEVICE_LISTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698