OLD | NEW |
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 REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "ppapi/cpp/instance_handle.h" | 12 #include "ppapi/cpp/instance_handle.h" |
11 #include "ppapi/cpp/network_monitor.h" | 13 #include "ppapi/cpp/network_monitor.h" |
12 #include "ppapi/utility/completion_callback_factory.h" | 14 #include "ppapi/utility/completion_callback_factory.h" |
13 #include "third_party/webrtc/base/network.h" | 15 #include "third_party/webrtc/base/network.h" |
14 | 16 |
15 namespace pp { | 17 namespace pp { |
16 class NetworkList; | 18 class NetworkList; |
17 } // namespace pp | 19 } // namespace pp |
(...skipping 25 matching lines...) Expand all Loading... |
43 bool network_list_received_; | 45 bool network_list_received_; |
44 | 46 |
45 pp::CompletionCallbackFactory<PepperNetworkManager> callback_factory_; | 47 pp::CompletionCallbackFactory<PepperNetworkManager> callback_factory_; |
46 | 48 |
47 base::WeakPtrFactory<PepperNetworkManager> weak_factory_; | 49 base::WeakPtrFactory<PepperNetworkManager> weak_factory_; |
48 }; | 50 }; |
49 | 51 |
50 } // namespace remoting | 52 } // namespace remoting |
51 | 53 |
52 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ | 54 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_ |
OLD | NEW |