Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5727)

Unified Diff: chrome/browser/extensions/api/tab_capture/tab_capture_api.h

Issue 2272563011: [Extensions] Convert some SyncExtensionFunctions (Closed)
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/tab_capture/tab_capture_api.h
diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_api.h b/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
index 884c71115772ccb8acb4d255bb1c5f6f5c1df516..8e9675f1c618a9f2dd852eab8fa9ec57cd880079 100644
--- a/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
+++ b/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
@@ -45,7 +45,7 @@ class TabCaptureGetCapturedTabsFunction : public ChromeSyncExtensionFunction {
bool RunSync() final;
};
-class TabCaptureCaptureOffscreenTabFunction : public SyncExtensionFunction {
+class TabCaptureCaptureOffscreenTabFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("tabCapture.captureOffscreenTab",
TABCAPTURE_CAPTUREOFFSCREENTAB)
@@ -59,7 +59,7 @@ class TabCaptureCaptureOffscreenTabFunction : public SyncExtensionFunction {
~TabCaptureCaptureOffscreenTabFunction() final {}
// ExtensionFunction:
- bool RunSync() final;
+ ResponseAction Run() final;
};
} // namespace extensions
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698