root/mojo/embedder/test_embedder.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// 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_EMBEDDER_TEST_EMBEDDER_H_
#define MOJO_EMBEDDER_TEST_EMBEDDER_H_

#include "mojo/system/system_impl_export.h"

namespace mojo {
namespace embedder {
namespace test {

// This shuts down the global, singleton instance. (Note: "Real" embedders are
// not expected to ever shut down this instance. This |Shutdown()| function will
// do more work to ensure that tests don't leak, etc.) Returns true if there
// were no problems, false if there were leaks -- i.e., handles still open -- or
// any other problems.
MOJO_SYSTEM_IMPL_EXPORT bool Shutdown();

}  // namespace test
}  // namespace embedder
}  // namespace mojo

#endif  // MOJO_EMBEDDER_EMBEDDER_H_

/* [<][>][^][v][top][bottom][index][help] */