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

Unified Diff: third_party/WebKit/Source/platform/web_process_memory_dump_test.cc

Issue 2028483002: Remove abstract classes for memory dumper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/web_process_memory_dump_test.cc
diff --git a/third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc b/third_party/WebKit/Source/platform/web_process_memory_dump_test.cc
similarity index 94%
rename from third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc
rename to third_party/WebKit/Source/platform/web_process_memory_dump_test.cc
index dd68132ee075a0b28c845ed98bab292bc22b567e..aafa2d64a1d4a0f5f76fad410059e06b9a054830 100644
--- a/third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc
+++ b/third_party/WebKit/Source/platform/web_process_memory_dump_test.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "platform/web_process_memory_dump_impl.h"
+#include "platform/web_process_memory_dump.h"
#include "base/memory/discardable_memory.h"
#include "base/test/test_discardable_memory_allocator.h"
@@ -10,7 +10,7 @@
#include "base/trace_event/process_memory_dump.h"
#include "base/trace_event/trace_event_argument.h"
#include "base/values.h"
-#include "platform/web_memory_allocator_dump_impl.h"
+#include "platform/web_memory_allocator_dump.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "wtf/OwnPtr.h"
@@ -19,17 +19,17 @@ namespace blink {
// Tests that the Chromium<>Blink plumbing that exposes the MemoryInfra classes
// behaves correctly, performs the right transfers of memory ownerships and
// doesn't leak objects.
-TEST(WebProcessMemoryDumpImplTest, IntegrationTest) {
+TEST(WebProcessMemoryDumpTest, IntegrationTest) {
std::unique_ptr<base::trace_event::TracedValue> traced_value(
new base::trace_event::TracedValue());
- std::unique_ptr<WebProcessMemoryDumpImpl> wpmd1(new WebProcessMemoryDumpImpl());
+ std::unique_ptr<WebProcessMemoryDump> wpmd1(new WebProcessMemoryDump());
auto wmad1 = wpmd1->createMemoryAllocatorDump("1/1");
auto wmad2 = wpmd1->createMemoryAllocatorDump("1/2");
ASSERT_EQ(wmad1, wpmd1->getMemoryAllocatorDump("1/1"));
ASSERT_EQ(wmad2, wpmd1->getMemoryAllocatorDump("1/2"));
- std::unique_ptr<WebProcessMemoryDumpImpl> wpmd2(new WebProcessMemoryDumpImpl());
+ std::unique_ptr<WebProcessMemoryDump> wpmd2(new WebProcessMemoryDump());
wpmd2->createMemoryAllocatorDump("2/1");
wpmd2->createMemoryAllocatorDump("2/2");
« no previous file with comments | « third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698