blob: b5f9e1d00bb5f7c233e353aaa0993f873e832b7e [file] [log] [blame]
// Copyright 2016 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 SKY_ENGINE_CORE_DIAGNOSTIC_DIAGNOSTIC_SERVER_H_
#define SKY_ENGINE_CORE_DIAGNOSTIC_DIAGNOSTIC_SERVER_H_
#include "dart/runtime/include/dart_api.h"
namespace shell {
class DiagnosticServer {
public:
static void Start(uint32_t port);
static void HandleSkiaPictureRequest(Dart_Handle send_port);
private:
static void SkiaPictureTask(Dart_Port port_id);
};
} // namespace shell
#endif // SKY_ENGINE_CORE_DIAGNOSTIC_DIAGNOSTIC_SERVER_H_