| Index: ios/chrome/browser/ui/commands/clear_browsing_data_command.mm
|
| diff --git a/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm b/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm
|
| index 1da0ae0edbbc0821169431bf400a4d083d834881..647df9e9b28caccef5cd05c8310c2457f93ccd91 100644
|
| --- a/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm
|
| +++ b/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm
|
| @@ -7,17 +7,19 @@
|
| #include "base/logging.h"
|
| #include "ios/chrome/browser/ui/commands/ios_command_ids.h"
|
|
|
| -@implementation ClearBrowsingDataCommand {
|
| - ios::ChromeBrowserState* _browserState; // Weak.
|
| - int _mask; // Removal mask: see BrowsingDataRemover::RemoveDataMask.
|
| -}
|
| +@implementation ClearBrowsingDataCommand
|
|
|
| @synthesize browserState = _browserState;
|
| @synthesize mask = _mask;
|
|
|
| +- (instancetype)initWithTag:(NSInteger)tag {
|
| + NOTREACHED();
|
| + return nil;
|
| +}
|
| +
|
| - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState
|
| mask:(int)mask {
|
| - self = [super init];
|
| + self = [super initWithTag:IDC_CLEAR_BROWSING_DATA_IOS];
|
| if (self) {
|
| DCHECK(browserState);
|
| _browserState = browserState;
|
| @@ -26,8 +28,4 @@
|
| return self;
|
| }
|
|
|
| -- (NSInteger)tag {
|
| - return IDC_CLEAR_BROWSING_DATA_IOS;
|
| -}
|
| -
|
| @end
|
|
|