| Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.h
|
| diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
|
| index e583c357f5ca419ed3c02bcb48e736db4fbd4ab2..47a2915470d4df2f34b45667434d48565723c80e 100644
|
| --- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
|
| +++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
|
| @@ -169,16 +169,16 @@ class WebNavigationEventRouter : public TabStripModelObserver,
|
| };
|
|
|
| // API function that returns the state of a given frame.
|
| -class WebNavigationGetFrameFunction : public ChromeSyncExtensionFunction {
|
| +class WebNavigationGetFrameFunction : public UIThreadExtensionFunction {
|
| ~WebNavigationGetFrameFunction() override {}
|
| - bool RunSync() override;
|
| + ResponseAction Run() override;
|
| DECLARE_EXTENSION_FUNCTION("webNavigation.getFrame", WEBNAVIGATION_GETFRAME)
|
| };
|
|
|
| // API function that returns the states of all frames in a given tab.
|
| -class WebNavigationGetAllFramesFunction : public ChromeSyncExtensionFunction {
|
| +class WebNavigationGetAllFramesFunction : public UIThreadExtensionFunction {
|
| ~WebNavigationGetAllFramesFunction() override {}
|
| - bool RunSync() override;
|
| + ResponseAction Run() override;
|
| DECLARE_EXTENSION_FUNCTION("webNavigation.getAllFrames",
|
| WEBNAVIGATION_GETALLFRAMES)
|
| };
|
|
|