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

source_set("comments") {
  sources = [ "comments_service_factory.h" ]

  public_deps = [ "//chrome/browser/profiles:profile" ]
}

source_set("impl") {
  sources = [ "comments_service_factory.cc" ]

  deps = [
    ":comments",
    "//base",
    "//components/collaboration/internal",
    "//components/collaboration/public",
    "//components/collaboration/public:features",
    "//components/data_sharing/public:features",
    "//content/public/browser",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "comments_service_factory_unittest.cc" ]
  deps = [
    ":comments",
    ":impl",
    "//base/test:test_support",
    "//chrome/test:test_support",
    "//components/collaboration/public",
    "//components/data_sharing/public:features",
    "//content/test:test_support",
    "//testing/gtest",
  ]
}
