| Index: base/memory/memory_pressure_monitor_linux_unittest.cc | 
| diff --git a/base/memory/memory_pressure_monitor_chromeos_unittest.cc b/base/memory/memory_pressure_monitor_linux_unittest.cc | 
| similarity index 90% | 
| copy from base/memory/memory_pressure_monitor_chromeos_unittest.cc | 
| copy to base/memory/memory_pressure_monitor_linux_unittest.cc | 
| index e0afa448a412e80a24be8293716ecd403d954de9..a35296f479e09fa9f6096cade27d01fda3b4b691 100644 | 
| --- a/base/memory/memory_pressure_monitor_chromeos_unittest.cc | 
| +++ b/base/memory/memory_pressure_monitor_linux_unittest.cc | 
| @@ -1,8 +1,8 @@ | 
| -// Copyright 2014 The Chromium Authors. All rights reserved. | 
| +// Copyright 2015 The Chromium Authors. All rights reserved. | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
|  | 
| -#include "base/memory/memory_pressure_monitor_chromeos.h" | 
| +#include "base/memory/memory_pressure_monitor_linux.h" | 
|  | 
| #include "base/basictypes.h" | 
| #include "base/memory/memory_pressure_listener.h" | 
| @@ -10,7 +10,7 @@ | 
| #include "testing/gtest/include/gtest/gtest.h" | 
|  | 
| namespace base { | 
| -namespace chromeos { | 
| +namespace nix { | 
|  | 
| namespace { | 
|  | 
| @@ -45,8 +45,7 @@ bool WasOnMemoryPressureCalled() { | 
| class TestMemoryPressureMonitor : public MemoryPressureMonitor { | 
| public: | 
| TestMemoryPressureMonitor() | 
| -      : MemoryPressureMonitor(THRESHOLD_DEFAULT), | 
| -        memory_in_percent_override_(0) { | 
| +      : MemoryPressureMonitor(), memory_in_percent_override_(0) { | 
| // Disable any timers which are going on and set a special memory reporting | 
| // function. | 
| StopObserving(); | 
| @@ -57,14 +56,10 @@ class TestMemoryPressureMonitor : public MemoryPressureMonitor { | 
| memory_in_percent_override_ = percent; | 
| } | 
|  | 
| -  void CheckMemoryPressureForTest() { | 
| -    CheckMemoryPressure(); | 
| -  } | 
| +  void CheckMemoryPressureForTest() { CheckMemoryPressure(); } | 
|  | 
| private: | 
| -  int GetUsedMemoryInPercent() override { | 
| -    return memory_in_percent_override_; | 
| -  } | 
| +  int GetUsedMemoryInPercent() override { return memory_in_percent_override_; } | 
|  | 
| int memory_in_percent_override_; | 
| DISALLOW_COPY_AND_ASSIGN(TestMemoryPressureMonitor); | 
| @@ -72,10 +67,9 @@ class TestMemoryPressureMonitor : public MemoryPressureMonitor { | 
|  | 
| // This test tests the various transition states from memory pressure, looking | 
| // for the correct behavior on event reposting as well as state updates. | 
| -TEST(ChromeOSMemoryPressureMonitorTest, CheckMemoryPressure) { | 
| +TEST(LinuxMemoryPressureMonitorTest, CheckMemoryPressure) { | 
| base::MessageLoopForUI message_loop; | 
| -  scoped_ptr<TestMemoryPressureMonitor> monitor( | 
| -      new TestMemoryPressureMonitor); | 
| +  scoped_ptr<TestMemoryPressureMonitor> monitor(new TestMemoryPressureMonitor); | 
| scoped_ptr<MemoryPressureListener> listener( | 
| new MemoryPressureListener(base::Bind(&OnMemoryPressure))); | 
| // Checking the memory pressure while 0% are used should not produce any | 
| @@ -162,5 +156,5 @@ TEST(ChromeOSMemoryPressureMonitorTest, CheckMemoryPressure) { | 
| EXPECT_EQ(j, i); | 
| } | 
|  | 
| -}  // namespace chromeos | 
| +}  // namespace nix | 
| }  // namespace base | 
|  |