OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 212 |
213 // On startup, it is possible to have Connect() called before the policy read | 213 // On startup, it is possible to have Connect() called before the policy read |
214 // is completed. Rather than just failing, we thunk the connection call so | 214 // is completed. Rather than just failing, we thunk the connection call so |
215 // it can be executed after at least one successful policy read. This | 215 // it can be executed after at least one successful policy read. This |
216 // variable contains the thunk if it is necessary. | 216 // variable contains the thunk if it is necessary. |
217 base::Closure pending_connect_; | 217 base::Closure pending_connect_; |
218 }; | 218 }; |
219 | 219 |
220 } // namespace remoting | 220 } // namespace remoting |
221 | 221 |
222 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::HostNPScriptObject); | |
223 | |
224 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 222 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
OLD | NEW |