Chromium Code Reviews| Index: mojo/dart/dart_snapshotter/logging.h |
| diff --git a/mojo/dart/dart_snapshotter/logging.h b/mojo/dart/dart_snapshotter/logging.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d521a7a4d741c7f1763a48620124dca76b3efeb1 |
| --- /dev/null |
| +++ b/mojo/dart/dart_snapshotter/logging.h |
| @@ -0,0 +1,16 @@ |
| +// Copyright 2015 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_DART_DART_SNAPSHOTTER_LOGGING_H_ |
| +#define MOJO_DART_DART_SNAPSHOTTER_LOGGING_H_ |
| + |
| +#include <string> |
| + |
| +#include "dart/runtime/include/dart_api.h" |
| + |
| +bool LogIfError(Dart_Handle handle); |
|
Cutch
2015/08/10 20:45:02
//tonic/dart_error.h
//tonic/dart_converter.h
zra
2015/08/10 22:59:22
Done.
|
| +std::string StringFromDart(Dart_Handle string); |
| +Dart_Handle StringToDart(const std::string& string); |
| + |
| +#endif // MOJO_DART_DART_SNAPSHOTTER_LOGGING_H_ |