blob: e81915354f2dd16729a1f050eb1d4ea7d2929f4f [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ios/chrome/test/fakes/fake_data_controls_commands_handler.h"
@implementation FakeDataControlsCommandsHandler
@synthesize dialogType = _dialogType;
@synthesize organizationDomain = _organizationDomain;
- (void)showDataControlsWarningDialog:
(data_controls::DataControlsDialog::Type)dialogType
organizationDomain:(std::string_view)organizationDomain
callback:(base::OnceCallback<void(bool)>)callback {
_dialogType = dialogType;
_organizationDomain = std::string(organizationDomain);
_callback = std::move(callback);
}
@end