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

Side by Side Diff: ppapi/proxy/network_monitor_resource.h

Issue 1174543002: ppapi: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix V8VarConverterTest. Created 5 years, 6 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
« no previous file with comments | « ppapi/proxy/message_handler.cc ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_
6 #define PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_ 6 #define PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "ppapi/proxy/network_list_resource.h" 10 #include "ppapi/proxy/network_list_resource.h"
11 #include "ppapi/proxy/plugin_resource.h" 11 #include "ppapi/proxy/plugin_resource.h"
12 #include "ppapi/shared_impl/scoped_pp_resource.h" 12 #include "ppapi/shared_impl/scoped_pp_resource.h"
13 #include "ppapi/thunk/ppb_network_monitor_api.h" 13 #include "ppapi/thunk/ppb_network_monitor_api.h"
14 14
15 namespace base {
16 class MessageLoopProxy;
17 } // namespace base
18
19 namespace ppapi { 15 namespace ppapi {
20 namespace proxy { 16 namespace proxy {
21 17
22 class NetworkMonitorResource : public PluginResource, 18 class NetworkMonitorResource : public PluginResource,
23 public thunk::PPB_NetworkMonitor_API { 19 public thunk::PPB_NetworkMonitor_API {
24 public: 20 public:
25 explicit NetworkMonitorResource(Connection connection, 21 explicit NetworkMonitorResource(Connection connection,
26 PP_Instance instance); 22 PP_Instance instance);
27 ~NetworkMonitorResource() override; 23 ~NetworkMonitorResource() override;
28 24
(...skipping 20 matching lines...) Expand all
49 PP_Resource* network_list_; 45 PP_Resource* network_list_;
50 scoped_refptr<TrackedCallback> update_callback_; 46 scoped_refptr<TrackedCallback> update_callback_;
51 47
52 DISALLOW_COPY_AND_ASSIGN(NetworkMonitorResource); 48 DISALLOW_COPY_AND_ASSIGN(NetworkMonitorResource);
53 }; 49 };
54 50
55 } // namespace proxy 51 } // namespace proxy
56 } // namespace ppapi 52 } // namespace ppapi
57 53
58 #endif // PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_ 54 #endif // PPAPI_PROXY_NETWORK_MONITOR_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/message_handler.cc ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698