Add MemoryWedge to ios/.
commit68537275ee0c46477455e14127fd61c0988e60f9
authorlpromero <lpromero@chromium.org>
Wed, 29 Apr 2015 11:16:01 +0000 (29 04:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Apr 2015 11:16:25 +0000 (29 11:16 +0000)
treee9eb59a25f7b7ae90bbff54ff82968036d260b0b
parent4b8db4d04e9604f90f6e616689e936d0b7262622
Add MemoryWedge to ios/.

A MemoryWedge is a single chunk of memory allocated. One passes it a size and the wedge is added to the resident memory used by the current app.

Furthermore, it adds an experimental flag for iOS based on a variation param, to drive the size of the wedge that could be inserted for a given run.

BUG=TBD
R=stuartmorgan,asvitkine

Review URL: https://codereview.chromium.org/1107963002

Cr-Commit-Position: refs/heads/master@{#327471}
ios/chrome/browser/DEPS
ios/chrome/browser/chrome_switches.cc
ios/chrome/browser/chrome_switches.h
ios/chrome/browser/experimental_flags.h
ios/chrome/browser/experimental_flags.mm
ios/chrome/browser/experimental_flags_unittest.mm [new file with mode: 0644]
ios/chrome/browser/memory/memory_wedge.cc [new file with mode: 0644]
ios/chrome/browser/memory/memory_wedge.h [new file with mode: 0644]
ios/chrome/browser/memory/memory_wedge_unittest.cc [new file with mode: 0644]
ios/chrome/ios_chrome.gyp
ios/chrome/ios_chrome_tests.gyp