Bug 1272415: Don't include task.h everywhere. r=froydnj

This commit is contained in:
Kyle Huey 2016-05-12 15:15:43 -07:00
parent 27e718ab4b
commit c8143d07d7
14 changed files with 15 additions and 2 deletions

View File

@ -11,6 +11,7 @@
#include "mozilla/dom/ipc/BlobChild.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "mozilla/ipc/InputStreamUtils.h"
#include "base/task.h"
using namespace mozilla::ipc;
using namespace mozilla::jsipc;

View File

@ -9,6 +9,7 @@
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "nsXULAppAPI.h"
#include "nsIObserverService.h"
#include "base/task.h"
using namespace mozilla::ipc;
using namespace mozilla::jsipc;

View File

@ -22,6 +22,7 @@
#include "mozilla/ipc/ProcessChild.h"
#include "GMPUtils.h"
#include "prio.h"
#include "base/task.h"
#ifdef MOZ_WIDEVINE_EME
#include "widevine-adapter/WidevineAdapter.h"
#endif

View File

@ -9,6 +9,7 @@
#include "GMPDecryptorChild.h"
#include "GMPVideoDecoderChild.h"
#include "GMPVideoEncoderChild.h"
#include "base/task.h"
namespace mozilla {
namespace gmp {

View File

@ -13,6 +13,7 @@
#include "mozIGeckoMediaPluginService.h"
#include "mozilla/Logging.h"
#include "mozilla/unused.h"
#include "base/task.h"
namespace mozilla {

View File

@ -6,6 +6,7 @@
#include "GMPDecryptorChild.h"
#include "GMPContentChild.h"
#include "GMPChild.h"
#include "base/task.h"
#include "mozilla/TimeStamp.h"
#include "mozilla/unused.h"
#include "runnable_utils.h"

View File

@ -13,6 +13,7 @@
#include "nsXPCOMPrivate.h"
#include "mozilla/SyncRunnable.h"
#include "runnable_utils.h"
#include "base/task.h"
namespace mozilla {

View File

@ -6,6 +6,7 @@
#include "GMPServiceParent.h"
#include "GMPService.h"
#include "prio.h"
#include "base/task.h"
#include "mozilla/Logging.h"
#include "GMPParent.h"
#include "GMPVideoDecoderParent.h"

View File

@ -6,6 +6,7 @@
#include "GMPStorageChild.h"
#include "GMPChild.h"
#include "gmp-storage.h"
#include "base/task.h"
#define ON_GMP_THREAD() (mPlugin->GMPMessageLoop() == MessageLoop::current())

View File

@ -8,6 +8,8 @@
#include "mozilla/plugins/PBrowserStreamChild.h"
#include "mozilla/plugins/AStream.h"
#include "base/task.h"
#include "base/timer.h"
namespace mozilla {
namespace plugins {

View File

@ -14,8 +14,6 @@
#include "base/lock.h"
#include "base/message_pump.h"
#include "base/observer_list.h"
#include "base/task.h"
#include "base/timer.h"
#if defined(OS_WIN)
// We need this to declare base::MessagePumpWin::Dispatcher, which we should
@ -26,6 +24,7 @@
#endif
#include "nsAutoPtr.h"
#include "nsThreadUtils.h"
class nsIThread;

View File

@ -12,6 +12,7 @@
#include "base/buffer.h"
#include "base/message_loop.h"
#include "base/task.h"
#include "nsISupportsImpl.h"
namespace IPC {

View File

@ -8,6 +8,7 @@
#include "BackgroundChildImpl.h"
#include "BackgroundParentImpl.h"
#include "base/process_util.h"
#include "base/task.h"
#include "FileDescriptor.h"
#include "GeckoProfiler.h"
#include "InputStreamUtils.h"

View File

@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "base/string_util.h"
#include "base/task.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/process_watcher.h"
#ifdef MOZ_WIDGET_COCOA