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

Unified Diff: include/v8-profiler.h

Issue 197513005: Deprecate Start/StopCpuProfiling methods (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months 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/profiler-extension.h » ('j') | no next file with comments »
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 1691f29739d8788b86b7672332343371a277ec16..f5b760a402538e7b2c6cffe3a5ffb06e9fd55805 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -164,7 +164,9 @@ class V8_EXPORT CpuProfiler {
void StartProfiling(Handle<String> title, bool record_samples = false);
/** Deprecated. Use StartProfiling instead. */
- void StartCpuProfiling(Handle<String> title, bool record_samples = false);
+ V8_DEPRECATED("Use StartProfiling",
+ void StartCpuProfiling(Handle<String> title,
+ bool record_samples = false));
/**
* Stops collecting CPU profile with a given title and returns it.
@@ -173,7 +175,8 @@ class V8_EXPORT CpuProfiler {
CpuProfile* StopProfiling(Handle<String> title);
/** Deprecated. Use StopProfiling instead. */
- const CpuProfile* StopCpuProfiling(Handle<String> title);
+ V8_DEPRECATED("Use StopProfiling",
+ const CpuProfile* StopCpuProfiling(Handle<String> title));
/**
* Tells the profiler whether the embedder is idle.
« no previous file with comments | « no previous file | test/cctest/profiler-extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698