client_base.cc (482B)
1 // Copyright 2022 The Chromium Authors. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "client_base.h" 6 7 namespace content_analysis { 8 namespace sdk { 9 10 ClientBase::ClientBase(Config config) : config_(config) {} 11 12 const Client::Config& ClientBase::GetConfig() const { 13 return config_; 14 } 15 16 const AgentInfo& ClientBase::GetAgentInfo() const { 17 return agent_info_; 18 } 19 20 } // namespace sdk 21 } // namespace content_analysis