simple_factory_key.cc 597 B

123456789101112131415
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/keyed_service/core/simple_factory_key.h"
  5. #include "components/keyed_service/core/simple_dependency_manager.h"
  6. SimpleFactoryKey::SimpleFactoryKey(const base::FilePath& path,
  7. bool is_off_the_record)
  8. : path_(path), is_off_the_record_(is_off_the_record) {
  9. SimpleDependencyManager::GetInstance()->MarkContextLive(this);
  10. }
  11. SimpleFactoryKey::~SimpleFactoryKey() = default;