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

Side by Side Diff: content/renderer/pepper/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: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/renderer/pepper/plugin_delegate.h"
10 #include "ppapi/c/private/ppb_network_monitor_private.h" 11 #include "ppapi/c/private/ppb_network_monitor_private.h"
11 #include "ppapi/shared_impl/resource.h" 12 #include "ppapi/shared_impl/resource.h"
12 #include "ppapi/thunk/ppb_network_monitor_private_api.h" 13 #include "ppapi/thunk/ppb_network_monitor_private_api.h"
13 #include "webkit/glue/network_list_observer.h" 14 #include "webkit/glue/network_list_observer.h"
14 #include "webkit/plugins/ppapi/plugin_delegate.h"
15 15
16 namespace webkit { 16 namespace webkit {
17 namespace ppapi { 17 namespace ppapi {
18 18
19 class PPB_NetworkMonitor_Private_Impl 19 class PPB_NetworkMonitor_Private_Impl
20 : public ::ppapi::Resource, 20 : public ::ppapi::Resource,
21 public ::ppapi::thunk::PPB_NetworkMonitor_Private_API, 21 public ::ppapi::thunk::PPB_NetworkMonitor_Private_API,
22 public webkit_glue::NetworkListObserver { 22 public webkit_glue::NetworkListObserver {
23 public: 23 public:
24 static PP_Resource Create(PP_Instance instance, 24 static PP_Resource Create(PP_Instance instance,
(...skipping 19 matching lines...) Expand all
44 PPB_NetworkMonitor_Callback callback_; 44 PPB_NetworkMonitor_Callback callback_;
45 void* user_data_; 45 void* user_data_;
46 bool started_; 46 bool started_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(PPB_NetworkMonitor_Private_Impl); 48 DISALLOW_COPY_AND_ASSIGN(PPB_NetworkMonitor_Private_Impl);
49 }; 49 };
50 50
51 } // namespace ppapi 51 } // namespace ppapi
52 } // namespace webkit 52 } // namespace webkit
53 53
54 #endif // WEBKIT_PLUGINS_PPAPI_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_ 54 #endif // CONTENT_RENDERER_PEPPER_PPB_NETWORK_MONITOR_PRIVATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698