chromium/components/lens/lens_metadata.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/lens/lens_metadata.h"

#include <map>

#include "base/base64.h"
#include "base/time/time.h"
#include "components/lens/lens_entrypoints.h"
#include "components/lens/proto/v1/lens_latencies_metadata.pb.h"

namespace {

void AddDownscaleData(lens::proto::lens_latencies_metadata::
                          ChromeSpecificPhaseLatenciesMetadata::Phase* phase,
                      gfx::Size original_size,
                      gfx::Size downscaled_size) {}

void AddEncodeData(lens::proto::lens_latencies_metadata::
                       ChromeSpecificPhaseLatenciesMetadata::Phase* phase,
                   lens::mojom::ImageFormat image_format,
                   size_t encoded_image_size_bytes) {}

}  // namespace

namespace LensMetadata {

std::string CreateProto(
    const std::vector<lens::mojom::LatencyLogPtr>& log_data) {}

}  // namespace LensMetadata