Bug 1273312 - Add task.h to ipdl unit tests (r=khuey)
authorBill McCloskey <billm@mozilla.com>
Mon, 16 May 2016 13:56:29 -0700
changeset 340375 64fcfbf2da25d2563d53fcb518fa355eb72cb2c5
parent 340374 ea8c597133e5d952dc92bac75c69b4620c37178b
child 340376 fff9ee7eaf1072bc237e6eaa48fb4705027cae5b
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs1273312
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1273312 - Add task.h to ipdl unit tests (r=khuey)
ipc/chromium/src/chrome/common/ipc_channel_posix.h
ipc/ipdl/test/cxx/IPDLUnitTests.template.cpp
ipc/ipdl/test/cxx/TestBridgeMain.cpp
ipc/ipdl/test/cxx/TestCrashCleanup.cpp
ipc/ipdl/test/cxx/TestEndpointBridgeMain.cpp
ipc/ipdl/test/cxx/TestEndpointOpens.cpp
ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
ipc/ipdl/test/cxx/TestOpens.cpp
ipc/ipdl/test/cxx/TestStackHooks.cpp
ipc/ipdl/test/cxx/TestSyncHang.cpp
--- a/ipc/chromium/src/chrome/common/ipc_channel_posix.h
+++ b/ipc/chromium/src/chrome/common/ipc_channel_posix.h
@@ -13,16 +13,17 @@
 
 #include <queue>
 #include <string>
 #include <vector>
 #include <list>
 
 #include "base/buffer.h"
 #include "base/message_loop.h"
+#include "base/task.h"
 #include "chrome/common/file_descriptor_set_posix.h"
 
 #include "nsAutoPtr.h"
 
 namespace IPC {
 
 // An implementation of ChannelImpl for POSIX systems that works via
 // socketpairs.  See the .cc file for an overview of the implementation.
--- a/ipc/ipdl/test/cxx/IPDLUnitTests.template.cpp
+++ b/ipc/ipdl/test/cxx/IPDLUnitTests.template.cpp
@@ -4,16 +4,17 @@
 
 #include <stdlib.h>
 #include <string.h>
 
 #include "IPDLUnitTests.h"
 
 #include "base/command_line.h"
 #include "base/string_util.h"
+#include "base/task.h"
 #include "base/thread.h"
 
 #include "nsRegion.h"
 
 #include "IPDLUnitTestSubprocess.h"
 
 //-----------------------------------------------------------------------------
 //===== TEMPLATED =====
--- a/ipc/ipdl/test/cxx/TestBridgeMain.cpp
+++ b/ipc/ipdl/test/cxx/TestBridgeMain.cpp
@@ -1,10 +1,11 @@
 #include "TestBridgeMain.h"
 
+#include "base/task.h"
 #include "IPDLUnitTests.h"      // fail etc.
 #include "IPDLUnitTestSubprocess.h"
 
 using namespace std;
 
 namespace mozilla {
 namespace _ipdltest {
 
--- a/ipc/ipdl/test/cxx/TestCrashCleanup.cpp
+++ b/ipc/ipdl/test/cxx/TestCrashCleanup.cpp
@@ -1,10 +1,11 @@
 #include "TestCrashCleanup.h"
 
+#include "base/task.h"
 #include "mozilla/CondVar.h"
 #include "mozilla/Mutex.h"
 
 #include "IPDLUnitTests.h"      // fail etc.
 #include "IPDLUnitTestSubprocess.h"
 
 using mozilla::CondVar;
 using mozilla::Mutex;
--- a/ipc/ipdl/test/cxx/TestEndpointBridgeMain.cpp
+++ b/ipc/ipdl/test/cxx/TestEndpointBridgeMain.cpp
@@ -1,13 +1,14 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 
 #include "TestEndpointBridgeMain.h"
 
+#include "base/task.h"
 #include "IPDLUnitTests.h"      // fail etc.
 #include "IPDLUnitTestSubprocess.h"
 
 using namespace std;
 
 namespace mozilla {
 namespace _ipdltest {
 
--- a/ipc/ipdl/test/cxx/TestEndpointOpens.cpp
+++ b/ipc/ipdl/test/cxx/TestEndpointOpens.cpp
@@ -1,11 +1,12 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 
+#include "base/task.h"
 #include "base/thread.h"
 
 #include "TestEndpointOpens.h"
 
 #include "IPDLUnitTests.h"      // fail etc.
 
 using namespace mozilla::ipc;
 
--- a/ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
+++ b/ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
@@ -1,10 +1,11 @@
 #include "TestInterruptErrorCleanup.h"
 
+#include "base/task.h"
 #include "mozilla/CondVar.h"
 #include "mozilla/Mutex.h"
 
 #include "IPDLUnitTests.h"      // fail etc.
 #include "IPDLUnitTestSubprocess.h"
 
 using mozilla::CondVar;
 using mozilla::Mutex;
--- a/ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
+++ b/ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
@@ -1,10 +1,11 @@
 #include "TestInterruptShutdownRace.h"
 
+#include "base/task.h"
 #include "IPDLUnitTests.h"      // fail etc.
 #include "IPDLUnitTestSubprocess.h"
 
 namespace mozilla {
 namespace _ipdltest {
 
 //-----------------------------------------------------------------------------
 // parent
--- a/ipc/ipdl/test/cxx/TestOpens.cpp
+++ b/ipc/ipdl/test/cxx/TestOpens.cpp
@@ -1,8 +1,9 @@
+#include "base/task.h"
 #include "base/thread.h"
 
 #include "TestOpens.h"
 
 #include "IPDLUnitTests.h"      // fail etc.
 
 using namespace mozilla::ipc;
 
--- a/ipc/ipdl/test/cxx/TestStackHooks.cpp
+++ b/ipc/ipdl/test/cxx/TestStackHooks.cpp
@@ -1,10 +1,11 @@
 #include "TestStackHooks.h"
 
+#include "base/task.h"
 #include "IPDLUnitTests.h"      // fail etc.
 
 
 
 namespace mozilla {
 namespace _ipdltest {
 
 //-----------------------------------------------------------------------------
--- a/ipc/ipdl/test/cxx/TestSyncHang.cpp
+++ b/ipc/ipdl/test/cxx/TestSyncHang.cpp
@@ -1,9 +1,10 @@
 #include "TestSyncHang.h"
+#include "base/task.h"
 #include "mozilla/ipc/GeckoChildProcessHost.h"
 
 #include "IPDLUnitTests.h"      // fail etc.
 
 using std::vector;
 using std::string;
 
 namespace mozilla {