Commit 70f678d0 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Remove unused command

This CL removes the -closeAllIncognitoTabs command as it is not used.

Bug: 902781
Change-Id: I583e53095fcddf03c899d6b44779b38daced32a3
Reviewed-on: https://chromium-review.googlesource.com/c/1323670Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606387}
parent fecf1538
...@@ -4570,11 +4570,6 @@ applicationCommandEndpoint:(id<ApplicationCommands>)applicationCommandEndpoint { ...@@ -4570,11 +4570,6 @@ applicationCommandEndpoint:(id<ApplicationCommands>)applicationCommandEndpoint {
_voiceSearchController->PrepareToAppear(); _voiceSearchController->PrepareToAppear();
} }
- (void)closeAllIncognitoTabs {
DCHECK(self.isOffTheRecord);
[self.tabModel closeAllTabs];
}
#if !defined(NDEBUG) #if !defined(NDEBUG)
- (void)viewSource { - (void)viewSource {
Tab* tab = [_model currentTab]; Tab* tab = [_model currentTab];
......
...@@ -61,9 +61,6 @@ class GURL; ...@@ -61,9 +61,6 @@ class GURL;
// Closes all tabs. // Closes all tabs.
- (void)closeAllTabs; - (void)closeAllTabs;
// Closes all incognito tabs.
- (void)closeAllIncognitoTabs;
#if !defined(NDEBUG) #if !defined(NDEBUG)
// Shows the source of the current page. // Shows the source of the current page.
- (void)viewSource; - (void)viewSource;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment