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

Unified Diff: content/public/browser/presentation_screen_availability_listener.h

Issue 887293002: Small fix for PresentationScreenAvailabilityListener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@REAL-NEW-MASTER
Patch Set: Reverted RFH/PresentationServiceImpl changes Created 5 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/presentation_screen_availability_listener.h
diff --git a/content/public/browser/presentation_screen_availability_listener.h b/content/public/browser/presentation_screen_availability_listener.h
index 4ed8749bcfe4f49b04b17b87a187d504fcfe3ec9..111484762fc852fc722ce97f7415400ed759df94 100644
--- a/content/public/browser/presentation_screen_availability_listener.h
+++ b/content/public/browser/presentation_screen_availability_listener.h
@@ -14,15 +14,14 @@ namespace content {
// See also PresentationServiceDelegate.
class PresentationScreenAvailabilityListener {
public:
+ virtual ~PresentationScreenAvailabilityListener() {}
+
// Returns the Presentation URL associated with this listener.
- virtual std::string GetPresentationUrl() = 0;
+ virtual std::string GetPresentationUrl() const = 0;
// Called when screen availability for the associated Presentation URL has
// changed to |available|.
virtual void OnScreenAvailabilityChanged(bool available) = 0;
-
- protected:
- virtual ~ScreenAvailabilityListener() {}
};
} // namespace content
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698