2016-07-08 02:00:23 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2012-05-21 15:12:37 +04:00
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2009-07-10 23:58:14 +04:00
|
|
|
|
2016-04-08 20:34:40 +03:00
|
|
|
#include "../contentproc/plugin-container.cpp"
|
2016-07-08 02:00:23 +03:00
|
|
|
|
2016-12-16 05:10:02 +03:00
|
|
|
#include "mozilla/Bootstrap.h"
|
2016-07-08 02:00:23 +03:00
|
|
|
#include "mozilla/WindowsDllBlocklist.h"
|
|
|
|
|
2016-12-16 05:10:02 +03:00
|
|
|
using namespace mozilla;
|
|
|
|
|
2013-06-03 14:14:46 +04:00
|
|
|
int
|
2016-07-08 02:00:23 +03:00
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
#ifdef HAS_DLL_BLOCKLIST
|
|
|
|
DllBlocklist_Initialize();
|
|
|
|
#endif
|
|
|
|
|
2017-01-13 01:29:56 +03:00
|
|
|
Bootstrap::UniquePtr bootstrap = GetBootstrap();
|
2016-12-16 05:10:02 +03:00
|
|
|
if (!bootstrap) {
|
|
|
|
return 2;
|
|
|
|
}
|
|
|
|
return content_process_main(bootstrap.get(), argc, argv);
|
2009-07-10 23:58:14 +04:00
|
|
|
}
|