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

Side by Side Diff: content/browser/presentation/presentation_service_impl.h

Issue 999003004: Implementing closeSession from WebPresentationClient to PresentationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void ListenForDefaultSessionStart( 89 void ListenForDefaultSessionStart(
90 const DefaultSessionMojoCallback& callback) override; 90 const DefaultSessionMojoCallback& callback) override;
91 void StartSession( 91 void StartSession(
92 const mojo::String& presentation_url, 92 const mojo::String& presentation_url,
93 const mojo::String& presentation_id, 93 const mojo::String& presentation_id,
94 const NewSessionMojoCallback& callback) override; 94 const NewSessionMojoCallback& callback) override;
95 void JoinSession( 95 void JoinSession(
96 const mojo::String& presentation_url, 96 const mojo::String& presentation_url,
97 const mojo::String& presentation_id, 97 const mojo::String& presentation_id,
98 const NewSessionMojoCallback& callback) override; 98 const NewSessionMojoCallback& callback) override;
99 void CloseSession(
100 const mojo::String& presentation_url,
101 const mojo::String& presentation_id) override;
99 102
100 // mojo::InterfaceImpl override. 103 // mojo::InterfaceImpl override.
101 // Note that this is called when the RenderFrameHost is deleted. 104 // Note that this is called when the RenderFrameHost is deleted.
102 void OnConnectionError() override; 105 void OnConnectionError() override;
103 106
104 // WebContentsObserver override. 107 // WebContentsObserver override.
105 void DidNavigateAnyFrame( 108 void DidNavigateAnyFrame(
106 content::RenderFrameHost* render_frame_host, 109 content::RenderFrameHost* render_frame_host,
107 const content::LoadCommittedDetails& details, 110 const content::LoadCommittedDetails& details,
108 const content::FrameNavigateParams& params) override; 111 const content::FrameNavigateParams& params) override;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 availability_contexts_; 166 availability_contexts_;
164 167
165 std::string default_presentation_url_; 168 std::string default_presentation_url_;
166 169
167 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl); 170 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl);
168 }; 171 };
169 172
170 } // namespace content 173 } // namespace content
171 174
172 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 175 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698