Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "mozilla/ipc/IOThreadChild.h" |
michael@0 | 7 | |
michael@0 | 8 | #include "IPDLUnitTestProcessChild.h" |
michael@0 | 9 | #include "IPDLUnitTests.h" |
michael@0 | 10 | |
michael@0 | 11 | #include "nsRegion.h" |
michael@0 | 12 | |
michael@0 | 13 | using mozilla::ipc::IOThreadChild; |
michael@0 | 14 | |
michael@0 | 15 | namespace mozilla { |
michael@0 | 16 | namespace _ipdltest { |
michael@0 | 17 | |
michael@0 | 18 | bool |
michael@0 | 19 | IPDLUnitTestProcessChild::Init() |
michael@0 | 20 | { |
michael@0 | 21 | IPDLUnitTestChildInit(IOThreadChild::channel(), |
michael@0 | 22 | ParentHandle(), |
michael@0 | 23 | IOThreadChild::message_loop()); |
michael@0 | 24 | |
michael@0 | 25 | if (NS_FAILED(nsRegion::InitStatic())) |
michael@0 | 26 | return false; |
michael@0 | 27 | |
michael@0 | 28 | return true; |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | } // namespace _ipdltest |
michael@0 | 32 | } // namespace mozilla |