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

Unified Diff: content/browser/tracing/memory_tracing_browsertest.cc

Issue 2309153002: Remove RenderThreadImpl::Shutdown (Closed)
Patch Set: temp Created 4 years, 3 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 | content/renderer/render_thread_impl.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/memory_tracing_browsertest.cc
diff --git a/content/browser/tracing/memory_tracing_browsertest.cc b/content/browser/tracing/memory_tracing_browsertest.cc
index 80ccfae3df249b4667b6a5de6a5c51bc9194b0ca..554e8ddff35fd533b8e583198a6c7d3eb54382ec 100644
--- a/content/browser/tracing/memory_tracing_browsertest.cc
+++ b/content/browser/tracing/memory_tracing_browsertest.cc
@@ -91,6 +91,7 @@ class MemoryTracingTest : public ContentBrowserTest {
protected:
void SetUp() override {
+ fprintf(stderr, "SetUp\n");
next_request_index_ = 0;
mock_dump_provider_.reset(new MockDumpProvider());
@@ -102,6 +103,7 @@ class MemoryTracingTest : public ContentBrowserTest {
}
void TearDown() override {
+ fprintf(stderr, "TearDown\n");
MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
mock_dump_provider_.get());
mock_dump_provider_.reset();
@@ -173,6 +175,7 @@ class SingleProcessMemoryTracingTest : public MemoryTracingTest {
// a single dump even in single process mode.
IN_PROC_BROWSER_TEST_F(SingleProcessMemoryTracingTest,
BrowserInitiatedSingleDump) {
+ fprintf(stderr, "test start\n");
Navigate(shell());
EXPECT_CALL(*mock_dump_provider_, OnMemoryDump(_,_)).WillOnce(Return(true));
@@ -183,6 +186,7 @@ IN_PROC_BROWSER_TEST_F(SingleProcessMemoryTracingTest,
MemoryDumpType::EXPLICITLY_TRIGGERED,
MemoryDumpLevelOfDetail::DETAILED);
DisableTracing();
+ fprintf(stderr, "test finish\n");
}
// Checks that a memory dump initiated from a renderer thread ends up in a
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698