permission_callback.h 555 B

1234567891011121314151617
  1. // Copyright 2021 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. #ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_CALLBACK_H_
  5. #define ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_CALLBACK_H_
  6. #include "base/callback.h"
  7. namespace android_webview {
  8. // Callback for permission requests.
  9. using PermissionCallback = base::OnceCallback<void(bool)>;
  10. } // namespace android_webview
  11. #endif // ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_CALLBACK_H_