chromium/third_party/perfetto/src/trace_processor/importers/proto/packet_sequence_state_generation.cc

/*
 * Copyright (C) 2020 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "src/trace_processor/importers/proto/packet_sequence_state_generation.h"
#include <cstddef>

#include "src/trace_processor/importers/proto/track_event_sequence_state.h"
#include "src/trace_processor/storage/stats.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/types/trace_processor_context.h"

namespace perfetto::trace_processor {

PacketSequenceStateGeneration::CustomState::~CustomState() = default;

// static
RefPtr<PacketSequenceStateGeneration>
PacketSequenceStateGeneration::CreateFirst(TraceProcessorContext* context) {}

PacketSequenceStateGeneration::PacketSequenceStateGeneration(
    TraceProcessorContext* context,
    InternedFieldMap interned_data,
    TrackEventSequenceState track_event_sequence_state,
    CustomStateArray custom_state,
    TraceBlobView trace_packet_defaults,
    bool is_incremental_state_valid)
    :{}

RefPtr<PacketSequenceStateGeneration>
PacketSequenceStateGeneration::OnPacketLoss() {}

RefPtr<PacketSequenceStateGeneration>
PacketSequenceStateGeneration::OnIncrementalStateCleared() {}

RefPtr<PacketSequenceStateGeneration>
PacketSequenceStateGeneration::OnNewTracePacketDefaults(
    TraceBlobView trace_packet_defaults) {}

InternedMessageView* PacketSequenceStateGeneration::GetInternedMessageView(
    uint32_t field_id,
    uint64_t iid) {}

void PacketSequenceStateGeneration::InternMessage(uint32_t field_id,
                                                  TraceBlobView message) {}

}  // namespace perfetto::trace_processor