1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef MOJO_CORE_EMBEDDER_PROCESS_ERROR_CALLBACK_H_ 6 #define MOJO_CORE_EMBEDDER_PROCESS_ERROR_CALLBACK_H_ 7 8 #include <string> 9 10 #include "base/callback.h" 11 12 namespace mojo { 13 namespace core { 14 15 using ProcessErrorCallback = 16 base::RepeatingCallback<void(const std::string& error)>; 17 18 } // namespace core 19 } // namespace mojo 20 21 #endif // MOJO_CORE_EMBEDDER_PROCESS_ERROR_CALLBACK_H_ 22