Remove FILE thread dependency in memory_monitor.mm.

The named thread API is deprecated in favor of the post_task.h API.

Change the public API of memory monitor to move all the code dealing
with task sequencer API into memory_monitor.mm.

Fix variable naming that were not following the Style guide and
move the code from ios_namespace to the global namespace.

BUG=689520,677941

Change-Id: I234a4bce680f580d4fba231e4f50d7ebe24d79d9
Reviewed-on: https://chromium-review.googlesource.com/548036
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Mark Cogan <marq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482251}
3 files changed