blob: 0d70d760c1ffc00e64afede84f73b5405f052d2d [file] [edit]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import type * as Common from '../core/common/common.js';
export class MockStore implements Common.Settings.SettingsBackingStore {
#store = new Map();
register() {
}
set(key: string, value: string) {
this.#store.set(key, value);
}
get(key: string) {
return this.#store.get(key);
}
remove(key: string) {
this.#store.delete(key);
}
clear() {
this.#store.clear();
}
}