1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25

ash / user_education / user_education_private_api_key.h [blame]

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

#ifndef ASH_USER_EDUCATION_USER_EDUCATION_PRIVATE_API_KEY_H_
#define ASH_USER_EDUCATION_USER_EDUCATION_PRIVATE_API_KEY_H_

namespace ash {

class CaptureModeController;
class WelcomeTourController;

// A `base::PassKey`-like construct used to restrict access to private user
// education APIs to only authorized callers.
class UserEducationPrivateApiKey {
 private:
  UserEducationPrivateApiKey() = default;

  friend CaptureModeController;
  friend WelcomeTourController;
};

}  // namespace ash

#endif  // ASH_USER_EDUCATION_USER_EDUCATION_PRIVATE_API_KEY_H_