From 28a4eca5a9e4053312eaca6b853f004450ce010b Mon Sep 17 00:00:00 2001 From: msw Date: Tue, 11 Nov 2014 18:32:17 -0800 Subject: Add Mojo application test support to Chromium. Needed to support Chromium Mojo application tests: For example: https://codereview.chromium.org/709923003 The Mojo CL: https://codereview.chromium.org/695593002 (env changes support the cross-repo ApplicationTestBase) TODO: Add GYP versions of GN apptest support targets. BUG=392646 TEST=mojo/application:test_support builds with GN. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/710403002 Cr-Commit-Position: refs/heads/master@{#303779} --- mojo/environment/default_run_loop_impl.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mojo/environment/default_run_loop_impl.h (limited to 'mojo/environment/default_run_loop_impl.h') diff --git a/mojo/environment/default_run_loop_impl.h b/mojo/environment/default_run_loop_impl.h new file mode 100644 index 0000000..ca868bf --- /dev/null +++ b/mojo/environment/default_run_loop_impl.h @@ -0,0 +1,19 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MOJO_ENVIRONMENT_DEFAULT_RUN_LOOP_IMPL_H_ +#define MOJO_ENVIRONMENT_DEFAULT_RUN_LOOP_IMPL_H_ + +#include "mojo/environment/mojo_environment_impl_export.h" + +namespace mojo { +namespace internal { + +MOJO_ENVIRONMENT_IMPL_EXPORT void InstantiateDefaultRunLoopImpl(); +MOJO_ENVIRONMENT_IMPL_EXPORT void DestroyDefaultRunLoopImpl(); + +} // namespace internal +} // namespace mojo + +#endif // MOJO_ENVIRONMENT_DEFAULT_RUN_LOOP_IMPL_H_ -- cgit v1.1