| Index: Source/core/dom/SuspendableScriptRunner.h
 | 
| diff --git a/Source/core/dom/SuspendableScriptRunner.h b/Source/core/dom/SuspendableScriptRunner.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..a1f72980bac605d1599f8ef78c662b2289d4ffc2
 | 
| --- /dev/null
 | 
| +++ b/Source/core/dom/SuspendableScriptRunner.h
 | 
| @@ -0,0 +1,40 @@
 | 
| +// Copyright 2014 The Chromium Authors. All rights reserved.
 | 
| +// Use of this source code is governed by a BSD-style license that can be
 | 
| +// found in the LICENSE file.
 | 
| +
 | 
| +#ifndef SuspendableScriptRunner_h
 | 
| +#define SuspendableScriptRunner_h
 | 
| +
 | 
| +#include "core/dom/ActiveDOMObject.h"
 | 
| +#include "wtf/Vector.h"
 | 
| +
 | 
| +namespace blink {
 | 
| +
 | 
| +class LocalFrame;
 | 
| +class ScriptSourceCode;
 | 
| +class WebScriptCallback;
 | 
| +
 | 
| +class SuspendableScriptRunner final : public ActiveDOMObject {
 | 
| +public:
 | 
| +    SuspendableScriptRunner(LocalFrame*, int worldID, const Vector<ScriptSourceCode>& sources, int extensionGroup, WebScriptCallback*);
 | 
| +    virtual ~SuspendableScriptRunner();
 | 
| +
 | 
| +    void run();
 | 
| +
 | 
| +    virtual void resume() override;
 | 
| +
 | 
| +    virtual void contextDestroyed() override;
 | 
| +
 | 
| +private:
 | 
| +    void execute();
 | 
| +
 | 
| +    LocalFrame* m_frame;
 | 
| +    int m_worldID;
 | 
| +    Vector<ScriptSourceCode> m_sources;
 | 
| +    int m_extensionGroup;
 | 
| +    WebScriptCallback* m_callback;
 | 
| +};
 | 
| +
 | 
| +} // namespace blink
 | 
| +
 | 
| +#endif // SuspendableScriptRunner_h
 | 
| 
 |