mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This is required by the _CryptoUtils class used by the recently repackaged Dart HTTP libraries
26 lines
543 B
C++
26 lines
543 B
C++
// 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 FLUTTER_LIB_IO_DART_IO_H_
|
|
#define FLUTTER_LIB_IO_DART_IO_H_
|
|
|
|
#include <cstdint>
|
|
|
|
#include "lib/fxl/macros.h"
|
|
|
|
namespace blink {
|
|
|
|
class DartIO {
|
|
public:
|
|
static void InitForIsolate();
|
|
static bool EntropySource(uint8_t* buffer, intptr_t length);
|
|
|
|
private:
|
|
FXL_DISALLOW_IMPLICIT_CONSTRUCTORS(DartIO);
|
|
};
|
|
|
|
} // namespace blink
|
|
|
|
#endif // FLUTTER_LIB_IO_DART_IO_H_
|