blob: 4d6b24a5bbcaca5d6bb16be0c14103cb89362484 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace sql {
namespace test {
struct ColumnInfo;
} // namespace test
// Restricts access to APIs internal to the //sql package.
// This implements Java's package-private via the passkey idiom.
class InternalApiToken {
// Must NOT be =default to disallow creation by uniform initialization.
InternalApiToken() {}
InternalApiToken(const InternalApiToken&) = default;
friend class DatabaseTestPeer;
friend class Recovery;
friend struct test::ColumnInfo;
} // namespace sql