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

Issue 16114002: Deprecate profiler methods that accept security origin (Closed)

Created:
7 years, 7 months ago by yurys
Modified:
7 years, 6 months ago
Reviewers:
loislo, alph, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/v8/source/detail?r=14833

Patch Set 1 #

Total comments: 4

Patch Set 2 : defined V8_DISABLE_DEPRECATIONS in test-cpu-profiler.cc and returned deleted test for deprecated API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -27 lines) Patch
M include/v8-profiler.h View 3 chunks +15 lines, -9 lines 0 comments Download
M src/api.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 5 chunks +26 lines, -11 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 3 chunks +20 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
yurys
7 years, 7 months ago (2013-05-27 18:31:15 UTC) #1
alph
https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc#newcode325 test/cctest/test-cpu-profiler.cc:325: CHECK_EQ(p1, FindCpuProfile(cpu_profiler, uid1)); Perhaps we should keep testing the ...
7 years, 6 months ago (2013-05-28 05:27:51 UTC) #2
yurys
https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc#newcode325 test/cctest/test-cpu-profiler.cc:325: CHECK_EQ(p1, FindCpuProfile(cpu_profiler, uid1)); On 2013/05/28 05:27:51, alph wrote: > ...
7 years, 6 months ago (2013-05-28 06:14:57 UTC) #3
loislo
lgtm
7 years, 6 months ago (2013-05-28 06:20:36 UTC) #4
alph
https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc#newcode325 test/cctest/test-cpu-profiler.cc:325: CHECK_EQ(p1, FindCpuProfile(cpu_profiler, uid1)); On 2013/05/28 06:14:57, Yury Semikhatsky wrote: ...
7 years, 6 months ago (2013-05-28 06:28:54 UTC) #5
yurys
https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16114002/diff/1/test/cctest/test-cpu-profiler.cc#newcode325 test/cctest/test-cpu-profiler.cc:325: CHECK_EQ(p1, FindCpuProfile(cpu_profiler, uid1)); On 2013/05/28 06:28:54, alph wrote: > ...
7 years, 6 months ago (2013-05-28 07:19:31 UTC) #6
Jakob Kummerow
lgtm
7 years, 6 months ago (2013-05-28 07:46:18 UTC) #7
yurys
7 years, 6 months ago (2013-05-28 08:00:26 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r14833 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698