1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebScriptExecutionCallback_h
6 #define WebScriptExecutionCallback_h
10 template <class T
> class Local
;
15 template <typename T
> class WebVector
;
17 class WebScriptExecutionCallback
{
19 virtual ~WebScriptExecutionCallback() { }
21 // Method to be invoked when the asynchronous script execution is complete.
22 // After function call all objects in vector will be collected
23 virtual void completed(const WebVector
<v8::Local
<v8::Value
> >&) { }
28 #endif // WebScriptExecutionCallback_h