2
|
1 |
// Copyright (c) 2009 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.
|
|
4 |
|
|
5 |
package org.chromium.sdk.internal;
|
|
6 |
|
|
7 |
import org.chromium.sdk.DebugEventListener;
|
|
8 |
|
|
9 |
/**
|
|
10 |
* Type that manages debug session as it's represented to V8 core debugging
|
|
11 |
* classes. Basically it's an internal interface of JavascriptVm object.
|
|
12 |
*/
|
|
13 |
public interface DebugSessionManager {
|
|
14 |
|
|
15 |
/**
|
|
16 |
* Listener is kept by session manager.
|
|
17 |
*/
|
|
18 |
DebugEventListener getDebugEventListener();
|
|
19 |
|
|
20 |
/**
|
|
21 |
* Debugger detached event goes through {@code DebugContextImpl},
|
|
22 |
* and {@code DebugContextImpl} should notify upwards via this method.
|
|
23 |
*/
|
|
24 |
void onDebuggerDetached();
|
|
25 |
}
|