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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_network_monitor_host.h

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 11 matching lines...) Expand all
22 : public ppapi::host::ResourceHost, 22 : public ppapi::host::ResourceHost,
23 public net::NetworkChangeNotifier::IPAddressObserver { 23 public net::NetworkChangeNotifier::IPAddressObserver {
24 public: 24 public:
25 PepperNetworkMonitorHost(BrowserPpapiHostImpl* host, 25 PepperNetworkMonitorHost(BrowserPpapiHostImpl* host,
26 PP_Instance instance, 26 PP_Instance instance,
27 PP_Resource resource); 27 PP_Resource resource);
28 28
29 virtual ~PepperNetworkMonitorHost(); 29 virtual ~PepperNetworkMonitorHost();
30 30
31 // net::NetworkChangeNotifier::IPAddressObserver interface. 31 // net::NetworkChangeNotifier::IPAddressObserver interface.
32 virtual void OnIPAddressChanged() OVERRIDE; 32 virtual void OnIPAddressChanged() override;
33 33
34 private: 34 private:
35 void OnPermissionCheckResult(bool can_use_network_monitor); 35 void OnPermissionCheckResult(bool can_use_network_monitor);
36 36
37 void GetAndSendNetworkList(); 37 void GetAndSendNetworkList();
38 void SendNetworkList(scoped_ptr<net::NetworkInterfaceList> list); 38 void SendNetworkList(scoped_ptr<net::NetworkInterfaceList> list);
39 39
40 ppapi::host::ReplyMessageContext reply_context_; 40 ppapi::host::ReplyMessageContext reply_context_;
41 41
42 base::WeakPtrFactory<PepperNetworkMonitorHost> weak_factory_; 42 base::WeakPtrFactory<PepperNetworkMonitorHost> weak_factory_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(PepperNetworkMonitorHost); 44 DISALLOW_COPY_AND_ASSIGN(PepperNetworkMonitorHost);
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_ 49 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_NETWORK_MONITOR_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698