| OLD | NEW | 
|---|
| 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" | 
| 11 #include "net/base/net_util.h" |  | 
| 12 #include "net/base/network_change_notifier.h" | 11 #include "net/base/network_change_notifier.h" | 
|  | 12 #include "net/base/network_interfaces.h" | 
| 13 #include "ppapi/host/host_message_context.h" | 13 #include "ppapi/host/host_message_context.h" | 
| 14 #include "ppapi/host/resource_host.h" | 14 #include "ppapi/host/resource_host.h" | 
| 15 | 15 | 
| 16 namespace content { | 16 namespace content { | 
| 17 | 17 | 
| 18 class BrowserPpapiHostImpl; | 18 class BrowserPpapiHostImpl; | 
| 19 | 19 | 
| 20 // The host for PPB_NetworkMonitor. This class lives on the IO thread. | 20 // The host for PPB_NetworkMonitor. This class lives on the IO thread. | 
| 21 class CONTENT_EXPORT PepperNetworkMonitorHost | 21 class CONTENT_EXPORT PepperNetworkMonitorHost | 
| 22     : public ppapi::host::ResourceHost, | 22     : public ppapi::host::ResourceHost, | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|