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

Unified Diff: webkit/plugins/ppapi/ppb_network_monitor_private_impl.h

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « webkit/plugins/ppapi/ppb_image_data_impl.cc ('k') | webkit/plugins/ppapi/ppb_network_monitor_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698