Index: components/discardable_memory/common/discardable_shared_memory_heap_perftest.cc |
diff --git a/content/common/discardable_shared_memory_heap_perftest.cc b/components/discardable_memory/common/discardable_shared_memory_heap_perftest.cc |
similarity index 94% |
rename from content/common/discardable_shared_memory_heap_perftest.cc |
rename to components/discardable_memory/common/discardable_shared_memory_heap_perftest.cc |
index 8dc3d588dd29c719a9e445e332e6dd37d4a038a3..f4eb81e528a608762041a95aec53e6d34aea9510 100644 |
--- a/content/common/discardable_shared_memory_heap_perftest.cc |
+++ b/components/discardable_memory/common/discardable_shared_memory_heap_perftest.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 <algorithm> |
@@ -18,14 +18,13 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/perf/perf_test.h" |
-namespace content { |
+namespace discardable_memory { |
namespace { |
const int kTimeLimitMs = 2000; |
const int kTimeCheckInterval = 8192; |
-void NullTask() { |
-} |
+void NullTask() {} |
TEST(DiscardableSharedMemoryHeapTest, SearchFreeLists) { |
size_t block_size = base::GetPageSize(); |
@@ -98,4 +97,4 @@ TEST(DiscardableSharedMemoryHeapTest, SearchFreeLists) { |
} |
} // namespace |
-} // namespace content |
+} // namespace discardable_memory |