Remove base::SimpleThread::SetThreadPriority() interface
commit1104fdd5932c74eaea3c703bcc756007ed019f22
authortoyoshim <toyoshim@chromium.org>
Tue, 16 Jun 2015 05:08:12 +0000 (15 22:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Jun 2015 05:08:46 +0000 (16 05:08 +0000)
treece3b504e6e2123cb9daf715fbef8a6b3c80f2751
parent0ce3b895e5169731bf67f738dbacb58ec694a7d6
Remove base::SimpleThread::SetThreadPriority() interface

Initial thread priorities should be set on thread creation.
After fixing SingleThreadTaskGraphRunner for Android, and
WASAPIAudio{In|Out}putStream for Windows, there are no
callers of base::SimpleThread::SetThreadPriority().

Since the method has a tricky restriction due to sandbox, remove
the interface. See discussion at crbug.com/468793.

BUG=468793

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

Cr-Commit-Position: refs/heads/master@{#334553}
base/threading/simple_thread.h
content/browser/renderer_host/compositor_impl_android.cc
media/audio/win/audio_low_latency_input_win.cc
media/audio/win/audio_low_latency_output_win.cc