summaryrefslogtreecommitdiffstats
path: root/third_party/content_analysis_sdk/browser/src/client_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/content_analysis_sdk/browser/src/client_base.cc')
-rw-r--r--third_party/content_analysis_sdk/browser/src/client_base.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/content_analysis_sdk/browser/src/client_base.cc b/third_party/content_analysis_sdk/browser/src/client_base.cc
new file mode 100644
index 0000000000..0147c0cbee
--- /dev/null
+++ b/third_party/content_analysis_sdk/browser/src/client_base.cc
@@ -0,0 +1,21 @@
+// 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 "client_base.h"
+
+namespace content_analysis {
+namespace sdk {
+
+ClientBase::ClientBase(Config config) : config_(config) {}
+
+const Client::Config& ClientBase::GetConfig() const {
+ return config_;
+}
+
+const AgentInfo& ClientBase::GetAgentInfo() const {
+ return agent_info_;
+}
+
+} // namespace sdk
+} // namespace content_analysis