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/renderer/presentation/presentation_session_dispatcher.h

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
Index: content/renderer/presentation/presentation_session_dispatcher.h
diff --git a/content/renderer/presentation/presentation_session_dispatcher.h b/content/renderer/presentation/presentation_session_dispatcher.h
deleted file mode 100644
index 0a89c565f12c4f52f5e9bb19ab8fc54a3f90140f..0000000000000000000000000000000000000000
--- a/content/renderer/presentation/presentation_session_dispatcher.h
+++ /dev/null
@@ -1,30 +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.
-
-#ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_
-#define CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_
-
-#include "base/compiler_specific.h"
-#include "content/common/content_export.h"
-#include "content/common/presentation/presentation_service.mojom.h"
-
-namespace content {
-
-// A wrapper around the Mojo PresentationSession remote object.
-class CONTENT_EXPORT PresentationSessionDispatcher {
- public:
- explicit PresentationSessionDispatcher(
- presentation::PresentationSessionInfoPtr session_info);
- ~PresentationSessionDispatcher();
-
- const mojo::String& GetUrl() const;
- const mojo::String& GetId() const;
-
- private:
- presentation::PresentationSessionInfoPtr session_info_;
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698