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

Unified Diff: content/renderer/presentation/presentation_session_dispatcher.cc

Issue 1024903003: [Presentation API] Plumbing of |onstatechange| from the Mojo service to the public/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call the Mojo method again from the callback 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 | « content/renderer/presentation/presentation_session_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/presentation/presentation_session_dispatcher.cc
diff --git a/content/renderer/presentation/presentation_session_dispatcher.cc b/content/renderer/presentation/presentation_session_dispatcher.cc
deleted file mode 100644
index 26660bd298820e9fc895cda25a79b3cd68ccdc9b..0000000000000000000000000000000000000000
--- a/content/renderer/presentation/presentation_session_dispatcher.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/renderer/presentation/presentation_session_dispatcher.h"
-
-#include "base/logging.h"
-
-namespace content {
-
-PresentationSessionDispatcher::PresentationSessionDispatcher(
- presentation::PresentationSessionInfoPtr session_info)
- : session_info_(session_info.Pass()) {
-}
-
-PresentationSessionDispatcher::~PresentationSessionDispatcher() {
-}
-
-const mojo::String& PresentationSessionDispatcher::GetUrl() const {
- DCHECK(!session_info_.is_null());
- return session_info_->url;
-}
-
-const mojo::String& PresentationSessionDispatcher::GetId() const {
- DCHECK(!session_info_.is_null());
- return session_info_->id;
-}
-
-} // namespace content
« no previous file with comments | « content/renderer/presentation/presentation_session_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698