Commit f838bfc0 authored by Roman Arora's avatar Roman Arora Committed by Josip Sokcevic

Tab Search: Fix override annotations in api proxy

Bug: 1099917
Change-Id: I3684b450523e4ec79fcd4dfc6497625982e4b79f
Reviewed-on: https://chrome-internal-review.googlesource.com/c/chrome/browser/resources/tab_search/+/3203117Reviewed-by: default avatarTom Lukaszewicz <tluk@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819578}
parent b75460a6
...@@ -34,17 +34,17 @@ export class TabSearchApiProxyImpl { ...@@ -34,17 +34,17 @@ export class TabSearchApiProxyImpl {
this.handler.$.bindNewPipeAndPassReceiver()); this.handler.$.bindNewPipeAndPassReceiver());
} }
/** override */ /** @override */
getProfileTabs() { getProfileTabs() {
return this.handler.getProfileTabs(); return this.handler.getProfileTabs();
} }
/** override */ /** @override */
switchToTab(info) { switchToTab(info) {
this.handler.switchToTab(info); this.handler.switchToTab(info);
} }
/** override */ /** @override */
getCallbackRouter() { getCallbackRouter() {
return this.callbackRouter; return this.callbackRouter;
} }
......
...@@ -24,18 +24,18 @@ export class TestTabSearchApiProxy extends TestBrowserProxy { ...@@ -24,18 +24,18 @@ export class TestTabSearchApiProxy extends TestBrowserProxy {
this.profileTabs_; this.profileTabs_;
} }
/** override */ /** @override */
getProfileTabs() { getProfileTabs() {
this.methodCalled('getProfileTabs'); this.methodCalled('getProfileTabs');
return Promise.resolve({profileTabs: this.profileTabs_}); return Promise.resolve({profileTabs: this.profileTabs_});
} }
/** override */ /** @override */
switchToTab(tabInfo) { switchToTab(tabInfo) {
this.methodCalled('switchToTab'); this.methodCalled('switchToTab', tabInfo);
} }
/** override */ /** @override */
getCallbackRouter() { getCallbackRouter() {
return this.callbackRouter; return this.callbackRouter;
} }
......
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