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

Unified Diff: components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc

Issue 2459733002: Move discardable memory to //components from //content (Closed)
Patch Set: Fix build error Created 4 years, 1 month 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
Index: components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc
diff --git a/content/common/discardable_shared_memory_heap_unittest.cc b/components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc
similarity index 98%
rename from content/common/discardable_shared_memory_heap_unittest.cc
rename to components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc
index f391ff3d2ee05d0af0d6d1f5097f0f2aa2007a09..117cb9b5b7265eb2fb425e577d0b8c1534800023 100644
--- a/content/common/discardable_shared_memory_heap_unittest.cc
+++ b/components/discardable_memory/common/discardable_shared_memory_heap_unittest.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 "content/common/discardable_shared_memory_heap.h"
+#include "components/discardable_memory/common/discardable_shared_memory_heap.h"
#include <stddef.h>
#include <utility>
@@ -12,11 +12,10 @@
#include "base/process/process_metrics.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
+namespace discardable_memory {
namespace {
-void NullTask() {
-}
+void NullTask() {}
TEST(DiscardableSharedMemoryHeapTest, Basic) {
size_t block_size = base::GetPageSize();

Powered by Google App Engine
This is Rietveld 408576698