Chromium change: https://source.chromium.org/chromium/chromium/src/+/cd23b8b9d212daf06dde638488dbaa355d6651fa commit cd23b8b9d212daf06dde638488dbaa355d6651fa Author: Daniel Cheng <dcheng@chromium.org> Date: Fri Sep 16 17:16:24 2022 +0000 Move bind.h, callback{,_forward,_helpers}.h into //base/functional Forwarding headers remain in the old locations to ease migration. Include paths for files in //base/functional/ are also fixed up to the new canonical path; remaining fixups are deferred until followups to minimize the risk of conflicts. Bug: 1364441
21 lines
784 B
C++
21 lines
784 B
C++
/* Copyright (c) 2022 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_BROWSER_BRAVE_SHELL_INTEGRATION_MAC_H_
|
|
#define BRAVE_BROWSER_BRAVE_SHELL_INTEGRATION_MAC_H_
|
|
|
|
#include "base/functional/callback.h"
|
|
#include "base/functional/callback_helpers.h"
|
|
|
|
namespace shell_integration::mac {
|
|
|
|
// No-op if already added.
|
|
void AddIconToDock(
|
|
base::OnceCallback<void(bool)> result_callback = base::DoNothing());
|
|
void IsIconAddedToDock(base::OnceCallback<void(bool)> result_callback);
|
|
} // namespace shell_integration::mac
|
|
|
|
#endif // BRAVE_BROWSER_BRAVE_SHELL_INTEGRATION_MAC_H_
|