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

Unified Diff: content/browser/presentation/presentation_service_impl.h

Issue 1033733007: [PresentationAPI] renamed GetScreenAvailability to ListenForScreenAvailability for consistency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated the test Created 5 years, 9 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/presentation/presentation_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/presentation/presentation_service_impl.h
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h
index 247ec8f9f34bd595fe07cf885ce0980726fd9bd1..db28b973c4ec729b536c0665cc08c4ecd538a3b6 100644
--- a/content/browser/presentation/presentation_service_impl.h
+++ b/content/browser/presentation/presentation_service_impl.h
@@ -73,7 +73,7 @@ class CONTENT_EXPORT PresentationServiceImpl
// bit, and the state machine will reset.
// The available bit is obtained from the embedder's media router.
// The callback is obtained from the renderer via PresentationServiceImpl's
- // GetScreenAvailability().
+ // ListenForScreenAvailability().
class CONTENT_EXPORT ScreenAvailabilityContext
: public PresentationScreenAvailabilityListener {
public:
@@ -151,10 +151,10 @@ class CONTENT_EXPORT PresentationServiceImpl
void SetDefaultPresentationURL(
const mojo::String& presentation_url,
const mojo::String& presentation_id) override;
- void GetScreenAvailability(
+ void ListenForScreenAvailability(
const mojo::String& presentation_url,
const ScreenAvailabilityMojoCallback& callback) override;
- void OnScreenAvailabilityListenerRemoved(
+ void RemoveScreenAvailabilityListener(
const mojo::String& presentation_url) override;
void ListenForDefaultSessionStart(
const DefaultSessionMojoCallback& callback) override;
« no previous file with comments | « no previous file | content/browser/presentation/presentation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698