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_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 5 #ifndef REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 // Used to cancel pending tasks for this object when it is destroyed. | 311 // Used to cancel pending tasks for this object when it is destroyed. |
312 base::WeakPtr<HostNPScriptObject> weak_ptr_; | 312 base::WeakPtr<HostNPScriptObject> weak_ptr_; |
313 base::WeakPtrFactory<HostNPScriptObject> weak_factory_; | 313 base::WeakPtrFactory<HostNPScriptObject> weak_factory_; |
314 | 314 |
315 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); | 315 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); |
316 }; | 316 }; |
317 | 317 |
318 } // namespace remoting | 318 } // namespace remoting |
319 | 319 |
320 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 320 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
OLD | NEW |