mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This updates to mojo 4e4d51ce28a and mojo sdk 711a0bcfb141b4 and updates the sky package's pubspec.yaml dependency to '>=0.1.0 <0.2.0' to be compatible with the current mojo package. This includes an update to the Mojo Dart generator to produce real classes for enums and the corresponding updates for users of the KeyboardType enum in Sky as well as one scoped_ptr->std::unique_ptr in shell corresponding to a change in the Mojo EDK. When a new version of the sky and sky_services package are pushed this will fix domokit/mojo#440.
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
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 MOJO_COMMON_TRACING_IMPL_H_
|
|
#define MOJO_COMMON_TRACING_IMPL_H_
|
|
|
|
#include "base/macros.h"
|
|
#include "mojo/common/trace_provider_impl.h"
|
|
#include "mojo/public/cpp/application/interface_factory.h"
|
|
#include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
|
|
|
|
namespace mojo {
|
|
|
|
class ApplicationImpl;
|
|
|
|
class TracingImpl : public InterfaceFactory<tracing::TraceProvider> {
|
|
public:
|
|
TracingImpl();
|
|
~TracingImpl() override;
|
|
|
|
// This connects to the tracing service and registers ourselves to provide
|
|
// tracing data on demand.
|
|
void Initialize(ApplicationImpl* app);
|
|
|
|
private:
|
|
// InterfaceFactory<tracing::TraceProvider> implementation.
|
|
void Create(ApplicationConnection* connection,
|
|
InterfaceRequest<tracing::TraceProvider> request) override;
|
|
|
|
TraceProviderImpl provider_impl_;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(TracingImpl);
|
|
};
|
|
|
|
} // namespace mojo
|
|
|
|
#endif // MOJO_COMMON_TRACING_IMPL_H_
|