chromium/third_party/content_analysis_sdk/src/demo/agent.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 <fstream>
#include <iostream>
#include <string>

#include "content_analysis/sdk/analysis_agent.h"
#include "demo/handler.h"

// Different paths are used depending on whether this agent should run as a
// use specific agent or not.  These values are chosen to match the test
// values in chrome browser.
constexpr char kPathUser[] =;
constexpr char kPathSystem[] =;

// Global app config.
std::string path =;
bool use_queue =;
bool user_specific =;
unsigned long delay =;  // In seconds.
unsigned long num_threads =;
std::string save_print_data_path =;

// Command line parameters.
constexpr const char* kArgDelaySpecific =;
constexpr const char* kArgPath =;
constexpr const char* kArgQueued =;
constexpr const char* kArgThreads =;
constexpr const char* kArgUserSpecific =;
constexpr const char* kArgHelp =;
constexpr const char* kArgSavePrintRequestDataTo =;

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

void PrintHelp() {}

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