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

Unified Diff: Source/modules/presentation/PresentationSession.h

Issue 1209473003: Marks session as connected upon StartSession success (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
Index: Source/modules/presentation/PresentationSession.h
diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h
index 410fa047d9016fb8ce3394c5eaca0d3f918fc874..0d01ec9d2d4d5891187712b497d3d84e0bca7952 100644
--- a/Source/modules/presentation/PresentationSession.h
+++ b/Source/modules/presentation/PresentationSession.h
@@ -31,7 +31,7 @@ class PresentationSession final
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationSession);
DEFINE_WRAPPERTYPEINFO();
public:
- static PresentationSession* take(WebPresentationSessionClient*, Presentation*);
+ static PresentationSession* take(WebPresentationSessionClient*, Presentation*, WebPresentationSessionState);
whywhat 2015/06/25 19:57:53 I'd prefer the state be passed as part of the WebP
static void dispose(WebPresentationSessionClient*);
virtual ~PresentationSession();
@@ -90,7 +90,7 @@ private:
RefPtr<BlobDataHandle> blobDataHandle;
};
- PresentationSession(LocalFrame*, const String& id, const String& url);
+ PresentationSession(LocalFrame*, const String& id, const String& url, WebPresentationSessionState);
// Returns the |PresentationController| object associated with the frame
// |Presentation| corresponds to. Can return |nullptr| if the frame is
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | Source/modules/presentation/PresentationSession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698