Index: ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm |
diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm |
index d38f324559bd354b401f9c109068192123fed8d9..d0361e391a1f99f3eea3ffc3a83974331ad3d0f6 100644 |
--- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm |
+++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm |
@@ -239,12 +239,12 @@ CGFloat tabSwitcherLocalSessionCellTopBarHeight() { |
}]; |
} |
-- (void)setSessionType:(ios_internal::SessionType)type { |
+- (void)setSessionType:(TabSwitcherSessionType)type { |
UIColor* topBarBackgroundColor; |
UIColor* closeButtonTintColor; |
UIColor* textColor; |
UIColor* snapshotBackgroundColor; |
- if (type == ios_internal::SessionType::OFF_THE_RECORD_SESSION) { |
+ if (type == TabSwitcherSessionType::OFF_THE_RECORD_SESSION) { |
topBarBackgroundColor = [[MDCPalette greyPalette] tint700]; |
closeButtonTintColor = [[MDCPalette greyPalette] tint100]; |
textColor = [[MDCPalette greyPalette] tint100]; |
@@ -398,7 +398,7 @@ CGFloat tabSwitcherLocalSessionCellTopBarHeight() { |
- (void)setSessionGURL:(GURL const&)gurl |
withBrowserState:(ios::ChromeBrowserState*)browserState { |
- ios_internal::FaviconGetterCompletionBlock block = ^(UIImage* favicon) { |
+ TabSwitcherFaviconGetterCompletionBlock block = ^(UIImage* favicon) { |
UIColor* imageDominantColor = |
DominantColorForImage(gfx::Image(favicon), 1.0); |
MDCPalette* dominantPalette = |
@@ -424,7 +424,7 @@ CGFloat tabSwitcherLocalSessionCellTopBarHeight() { |
}; |
GURL gurlCopy = gurl; |
_faviconObtainer.reset([[NSBlockOperation blockOperationWithBlock:^{ |
- ios_internal::GetFavicon(gurlCopy, browserState, block); |
+ TabSwitcherGetFavicon(gurlCopy, browserState, block); |
}] retain]); |
NSOperationQueue* operationQueue = [NSOperationQueue mainQueue]; |
[operationQueue addOperation:_faviconObtainer]; |