| Index: chrome/browser/ui/android/simple_message_box_android.cc
|
| diff --git a/chrome/browser/ui/android/simple_message_box_android.cc b/chrome/browser/ui/android/simple_message_box_android.cc
|
| index c155416e86d3d2de4968636e0ed633ef461db5ef..387061eae3141418e5d3bab0acc31259ad8ccd5e 100644
|
| --- a/chrome/browser/ui/android/simple_message_box_android.cc
|
| +++ b/chrome/browser/ui/android/simple_message_box_android.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "chrome/browser/ui/simple_message_box.h"
|
|
|
| +#include <utility>
|
| +
|
| +#include "base/callback.h"
|
| #include "base/logging.h"
|
|
|
| namespace chrome {
|
| @@ -21,12 +24,14 @@ MessageBoxResult ShowQuestionMessageBox(gfx::NativeWindow parent,
|
| return MESSAGE_BOX_RESULT_NO;
|
| }
|
|
|
| -bool ShowWarningMessageBoxWithCheckbox(gfx::NativeWindow parent,
|
| - const base::string16& title,
|
| - const base::string16& message,
|
| - const base::string16& checkbox_text) {
|
| +void ShowWarningMessageBoxWithCheckbox(
|
| + gfx::NativeWindow parent,
|
| + const base::string16& title,
|
| + const base::string16& message,
|
| + const base::string16& checkbox_text,
|
| + base::OnceCallback<void(bool checked)> callback) {
|
| NOTIMPLEMENTED();
|
| - return false;
|
| + std::move(callback).Run(false);
|
| }
|
|
|
| } // namespace chrome
|
|
|