Deprecate profiler methods that accept security origin
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 May 2013 08:00:16 +0000 (08:00 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 May 2013 08:00:16 +0000 (08:00 +0000)
commit9974d932b29bdb97b777a97a77e94d2ad38300eb
treefe654bc72ca10ade3cc20cdeb9bd180a7d186b1c
parent4fcaace0a90761af20a40c1aa1bb1dd54d2802da
Deprecate profiler methods that accept security origin

Now that the only known client console.profiles was removed from Blink:
https://src.chromium.org/viewvc/blink?revision=151136&view=revision
https://src.chromium.org/viewvc/blink?revision=151196&view=revision
this method can be deprecated and all the code that supports filtering
CPU profiles based on security origins can be later removed.

Drive-by fix: in line with CpuProfiler changes deprecated HeapProfiler::FindHeapSnapshot to reduce v8 API surface. FindHeapSnapshot may well be implemented based on existing GetSnapshotCount/GetSnapshot and it is only used in the tests.

BUG=None
R=jkummerow@chromium.org, loislo@chromium.org

Review URL: https://codereview.chromium.org/16114002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
src/api.cc
test/cctest/test-cpu-profiler.cc
test/cctest/test-heap-profiler.cc