Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: include/v8-profiler.h

Issue 117353002: Delete several deprecated methods on v8::CpuProfiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cctest/cctest.gyp » ('j') | test/cctest/profiler-extension.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | test/cctest/cctest.gyp » ('j') | test/cctest/profiler-extension.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698