| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index 5338fcd59c2c7711ef475e9949b22411c6374b6c..cf2834130053656f5ecd7d30d08d1f0627544d40 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -75,6 +75,9 @@ class V8EXPORT CpuProfileNode {
|
| /** Returns function name (empty string for anonymous functions.) */
|
| Handle<String> GetFunctionName() const;
|
|
|
| + /** Returns id of the script where function is located. */
|
| + int GetScriptId() const;
|
| +
|
| /** Returns resource name for script from where the function originates. */
|
| Handle<String> GetScriptResourceName() const;
|
|
|
| @@ -178,18 +181,9 @@ class V8EXPORT CpuProfiler {
|
| */
|
| int GetProfileCount();
|
|
|
| - /** Deprecated. Use GetCpuProfile with single parameter. */
|
| - V8_DEPRECATED(const CpuProfile* GetCpuProfile(
|
| - int index,
|
| - Handle<Value> security_token));
|
| /** Returns a profile by index. */
|
| const CpuProfile* GetCpuProfile(int index);
|
|
|
| - /** Returns a profile by uid. */
|
| - V8_DEPRECATED(const CpuProfile* FindCpuProfile(
|
| - unsigned uid,
|
| - Handle<Value> security_token = Handle<Value>()));
|
| -
|
| /**
|
| * Starts collecting CPU profile. Title may be an empty string. It
|
| * is allowed to have several profiles being collected at
|
| @@ -204,12 +198,6 @@ class V8EXPORT CpuProfiler {
|
| void StartCpuProfiling(Handle<String> title, bool record_samples = false);
|
|
|
| /**
|
| - * Deprecated. Use StopCpuProfiling with one parameter instead.
|
| - */
|
| - V8_DEPRECATED(const CpuProfile* StopCpuProfiling(
|
| - Handle<String> title,
|
| - Handle<Value> security_token));
|
| - /**
|
| * Stops collecting CPU profile with a given title and returns it.
|
| * If the title given is empty, finishes the last profile started.
|
| */
|
| @@ -412,9 +400,6 @@ class V8EXPORT HeapProfiler {
|
| /** Returns a snapshot by index. */
|
| const HeapSnapshot* GetHeapSnapshot(int index);
|
|
|
| - /** Returns a profile by uid. */
|
| - V8_DEPRECATED(const HeapSnapshot* FindHeapSnapshot(unsigned uid));
|
| -
|
| /**
|
| * Returns SnapshotObjectId for a heap object referenced by |value| if
|
| * it has been seen by the heap profiler, kUnknownObjectId otherwise.
|
|
|