third_party/re2: Remove remove-static-initializers.patch.
[chromium-blink-merge.git] / content / renderer / presentation / presentation_session_client.cc
blob62b28527c29e816ecbeca8700f684b8f7bfbf5ae
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
3 // found in the LICENSE file.
5 #include "content/renderer/presentation/presentation_session_client.h"
7 #include "base/logging.h"
8 #include "third_party/WebKit/public/platform/WebString.h"
10 namespace content {
12 PresentationSessionClient::PresentationSessionClient(
13 presentation::PresentationSessionInfoPtr session_info)
14 : url_(blink::WebString::fromUTF8(session_info->url)),
15 id_(blink::WebString::fromUTF8(session_info->id)) {
18 PresentationSessionClient::~PresentationSessionClient() {
21 blink::WebString PresentationSessionClient::getUrl() {
22 return url_;
25 blink::WebString PresentationSessionClient::getId() {
26 return id_;
29 } // namespace content