blob: 344d8e4043b6091a544bd8d762c78e167ff5d885 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.base.shared_preferences;
/**
* A placeholder key checker that never throws exceptions. Used in production builds.
*/
class NoOpPreferenceKeyChecker implements PreferenceKeyChecker {
@Override
public void checkIsKeyInUse(String key) {
// No-op.
}
@Override
public void checkIsPrefixInUse(KeyPrefix prefix) {
// No-op.
}
}