old_contents: # Copyright 2013 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.
  
  from telemetry import benchmark
  
  from measurements import memory
  import page_sets
  
  
  @benchmark.Enabled('android')
  class MemoryMobile(benchmark.Benchmark):
    test = memory.Memory
    page_set = page_sets.MobileMemoryPageSet
  
    @classmethod
    def Name(cls):
      return 'memory.mobile_memory'
  
  
  class MemoryTop7Stress(benchmark.Benchmark):
    """Use (recorded) real world web sites and measure memory consumption."""
    test = memory.Memory
    page_set = page_sets.Top7StressPageSet
  
    @classmethod
    def Name(cls):
      return 'memory.top_7_stress'
  
  class MemoryTop7StressWithSlimmingPaint(benchmark.Benchmark):
    """Use (recorded) real world web sites and measure memory consumption,
  
    with --enable--slimming-paint."""
    test = memory.Memory
    page_set = page_sets.Top7StressPageSet
  
    def CustomizeBrowserOptions(self, options):
      options.AppendExtraBrowserArgs(['--enable-slimming-paint'])
  
    @classmethod
    def Name(cls):
      return 'memory.top_7_stress_slimming_paint'
  
new_contents: # Copyright 2013 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.
  
  from telemetry import benchmark
  
  from measurements import memory
  import page_sets
  
  
  @benchmark.Enabled('android')
  class MemoryMobile(benchmark.Benchmark):
    test = memory.Memory
    page_set = page_sets.MobileMemoryPageSet
  
    @classmethod
    def Name(cls):
      return 'memory.mobile_memory'
  
  
  class MemoryTop7Stress(benchmark.Benchmark):
    """Use (recorded) real world web sites and measure memory consumption."""
    test = memory.Memory
    page_set = page_sets.Top7StressPageSet
  
    @classmethod
    def Name(cls):
      return 'memory.top_7_stress'
  
subject: Revert of Track memory consumption of SP on top 7 sites. (patchset #1 id:1 of https://codereview.chromium.org/1029283002/)