Implement OnPurgeMemory callback for RenderThreadImpl

We added OnPurgeMemory() callback to MemoryCoordinatorClient so that we
can separate memory purging from memory state transition. This CL moves
purging logic from OnMemoryStateChange() to OnPurgeMemory() in
RenderThreadImpl.

BUG=684287

Review-Url: https://codereview.chromium.org/2688653002
Cr-Commit-Position: refs/heads/master@{#449236}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 3924b340..c03139d 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -526,6 +526,7 @@
 
   // base::MemoryCoordinatorClient implementation:
   void OnMemoryStateChange(base::MemoryState state) override;
+  void OnPurgeMemory() override;
 
   void ClearMemory();