| Index: webkit/plugins/ppapi/ppb_network_monitor_private_impl.h
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_network_monitor_private_impl.h (revision 213561)
|
| +++ webkit/plugins/ppapi/ppb_network_monitor_private_impl.h (working copy)
|
| @@ -1,54 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
|
| -#define WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/compiler_specific.h"
|
| -#include "ppapi/c/private/ppb_network_monitor_private.h"
|
| -#include "ppapi/shared_impl/resource.h"
|
| -#include "ppapi/thunk/ppb_network_monitor_private_api.h"
|
| -#include "webkit/glue/network_list_observer.h"
|
| -#include "webkit/plugins/ppapi/plugin_delegate.h"
|
| -
|
| -namespace webkit {
|
| -namespace ppapi {
|
| -
|
| -class PPB_NetworkMonitor_Private_Impl
|
| - : public ::ppapi::Resource,
|
| - public ::ppapi::thunk::PPB_NetworkMonitor_Private_API,
|
| - public webkit_glue::NetworkListObserver {
|
| - public:
|
| - static PP_Resource Create(PP_Instance instance,
|
| - PPB_NetworkMonitor_Callback callback,
|
| - void* user_data);
|
| -
|
| - virtual ~PPB_NetworkMonitor_Private_Impl();
|
| -
|
| - virtual ::ppapi::thunk::PPB_NetworkMonitor_Private_API*
|
| - AsPPB_NetworkMonitor_Private_API() OVERRIDE;
|
| -
|
| - // NetworkListObserver interface.
|
| - virtual void OnNetworkListChanged(
|
| - const net::NetworkInterfaceList& list) OVERRIDE;
|
| -
|
| - private:
|
| - PPB_NetworkMonitor_Private_Impl(PP_Instance instance,
|
| - PPB_NetworkMonitor_Callback callback,
|
| - void* user_data);
|
| -
|
| - bool Start();
|
| -
|
| - PPB_NetworkMonitor_Callback callback_;
|
| - void* user_data_;
|
| - bool started_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PPB_NetworkMonitor_Private_Impl);
|
| -};
|
| -
|
| -} // namespace ppapi
|
| -} // namespace webkit
|
| -
|
| -#endif // WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
|
|
|