Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 8d5e4baa3beaeada58116c787a0f40d7c60b8d22..f4ce9c710ec58f83bf61e99a42a33f1b96b97dcb 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -97,7 +97,7 @@ class V8_EXPORT CpuProfileNode { |
class V8_EXPORT CpuProfile { |
public: |
/** Returns CPU profile UID (assigned by the profiler.) */ |
- unsigned GetUid() const; |
+ V8_DEPRECATED("This method will be removed.", unsigned GetUid() const); |
/** Returns CPU profile title. */ |
Handle<String> GetTitle() const; |
@@ -154,10 +154,11 @@ class V8_EXPORT CpuProfiler { |
* Returns the number of profiles collected (doesn't include |
* profiles that are being collected at the moment of call.) |
*/ |
- int GetProfileCount(); |
+ V8_DEPRECATED("This method will be removed.", int GetProfileCount()); |
/** Returns a profile by index. */ |
- const CpuProfile* GetCpuProfile(int index); |
+ V8_DEPRECATED("This method will be removed.", |
+ const CpuProfile* GetCpuProfile(int index)); |
/** |
* Starts collecting CPU profile. Title may be an empty string. It |
@@ -183,7 +184,8 @@ class V8_EXPORT CpuProfiler { |
* activity. All previously returned pointers to profiles and their |
* contents become invalid after this call. |
*/ |
- void DeleteAllCpuProfiles(); |
+ V8_DEPRECATED("This method will be removed.", |
+ void DeleteAllCpuProfiles()); |
/** |
* Tells the profiler whether the embedder is idle. |