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

Unified Diff: content/browser/screen_orientation/screen_orientation_provider.h

Issue 2868843002: Use OnceCallback on Mojo interfaces in //device/screen_orientation (Closed)
Patch Set: rebase Created 3 years, 7 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 | content/browser/screen_orientation/screen_orientation_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/screen_orientation/screen_orientation_provider.h
diff --git a/content/browser/screen_orientation/screen_orientation_provider.h b/content/browser/screen_orientation/screen_orientation_provider.h
index 0898070e3bb9471d3fee37c606deb4faf5e85720..f525e0eb9dff3ac0695e3ac88e3b5cef7e445fab 100644
--- a/content/browser/screen_orientation/screen_orientation_provider.h
+++ b/content/browser/screen_orientation/screen_orientation_provider.h
@@ -33,7 +33,7 @@ class CONTENT_EXPORT ScreenOrientationProvider
// device::mojom::ScreenOrientation:
void LockOrientation(blink::WebScreenOrientationLockType orientation,
- const LockOrientationCallback& callback) override;
+ LockOrientationCallback callback) override;
void UnlockOrientation() override;
// Inform about a screen orientation update. It is called to let the provider
« no previous file with comments | « no previous file | content/browser/screen_orientation/screen_orientation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698