chromium/tools/aggregation_service/aggregation_service_tool_main.cc

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

#include <iterator>
#include <string>
#include <string_view>

#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_executor.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/values.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
#include "tools/aggregation_service/aggregation_service_tool.h"
#include "url/gurl.h"
#include "url/origin.h"
#include "url/url_canon.h"

namespace {

// If you change any of the switch strings, update the `kHelpMsg`,
// `kAllowedSwitches` and `kRequiredSwitches` accordingly.
constexpr std::string_view kSwitchHelp =;
constexpr std::string_view kSwitchHelpShort =;
constexpr std::string_view kSwitchOperation =;
constexpr std::string_view kSwitchBucket =;
constexpr std::string_view kSwitchValue =;
constexpr std::string_view kSwitchAlternativeAggregationMode =;
constexpr std::string_view kSwitchReportingOrigin =;
constexpr std::string_view kSwitchHelperKeyUrls =;
constexpr std::string_view kSwitchHelperKeyFiles =;
constexpr std::string_view kSwitchOutputFile =;
constexpr std::string_view kSwitchOutputUrl =;
constexpr std::string_view kSwitchDisablePayloadEncryption =;
constexpr std::string_view kSwitchAdditionalFields =;
constexpr std::string_view kSwitchAdditionalSharedInfoFields =;
constexpr std::string_view kSwitchEnableDebugMode =;
constexpr std::string_view kSwitchApiVersion =;
constexpr std::string_view kSwitchApi =;

constexpr std::string_view kHelpMsg =;

void PrintHelp() {}

}  // namespace

int main(int argc, char* argv[]) {}