org.chromium.sdk/src/org/chromium/sdk/internal/tools/v8/request/ChangeLiveMessage.java
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 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.tools.v8.request; |
|
6 |
|
7 import org.chromium.sdk.internal.tools.v8.DebuggerCommand; |
|
8 |
|
9 /** |
|
10 * Represents a "changelive" experimental V8 request message. |
|
11 */ |
|
12 public class ChangeLiveMessage extends ContextlessDebuggerMessage { |
|
13 public ChangeLiveMessage(long scriptId, String newSource) { |
|
14 super(DebuggerCommand.CHANGELIVE.value); |
|
15 putArgument("script_id", scriptId); |
|
16 putArgument("new_source", newSource); |
|
17 } |
|
18 } |