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

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

Issue 2710703006: Remove unused PresentationServiceImpl message code (Closed)
Patch Set: Remove unused PresentationDispatcher test code Created 3 years, 10 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 240fbd74af7f9eef8bf303b0349f6c21b4ed4ff9..5ba4c47a346e7f938065772dc096b8b7a8a4df11 100644
--- a/content/browser/presentation/presentation_service_impl.h
+++ b/content/browser/presentation/presentation_service_impl.h
@@ -103,7 +103,6 @@ class CONTENT_EXPORT PresentationServiceImpl
using ConnectionMessagesCallback =
base::Callback<void(std::vector<blink::mojom::ConnectionMessagePtr>)>;
- using SendConnectionMessageCallback = base::Callback<void(bool)>;
// Listener implementation owned by PresentationServiceImpl. An instance of
// this is created when PresentationRequest.getAvailability() is resolved.
@@ -168,10 +167,6 @@ class CONTENT_EXPORT PresentationServiceImpl
void JoinSession(const std::vector<GURL>& presentation_urls,
const base::Optional<std::string>& presentation_id,
const NewSessionCallback& callback) override;
- void SendConnectionMessage(
- const PresentationSessionInfo& session_info,
- blink::mojom::ConnectionMessagePtr connection_message,
- const SendConnectionMessageCallback& callback) override;
void CloseConnection(const GURL& presentation_url,
const std::string& presentation_id) override;
void Terminate(const GURL& presentation_url,
@@ -229,7 +224,6 @@ class CONTENT_EXPORT PresentationServiceImpl
void OnJoinSessionError(
int request_session_id,
const PresentationError& error);
- void OnSendMessageCallback(bool sent);
// Calls to |delegate_| to start listening for state changes for |connection|.
// State changes will be returned via |OnConnectionStateChanged|.
@@ -303,11 +297,6 @@ class CONTENT_EXPORT PresentationServiceImpl
// The binding is removed when binding_ is cleared or goes out of scope.
std::unique_ptr<mojo::Binding<blink::mojom::PresentationService>> binding_;
- // There can be only one send message request at a time.
- std::unique_ptr<SendConnectionMessageCallback> send_message_callback_;
-
- std::unique_ptr<ConnectionMessagesCallback> on_connection_messages_callback_;
-
// ID of the RenderFrameHost this object is associated with.
int render_process_id_;
int render_frame_id_;
« 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