summaryrefslogtreecommitdiff
path: root/chromium/content/public/common/presentation_info.cc
blob: 09cff09e76bf59b72f4099c6dba217c3958f1d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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/public/common/presentation_info.h"

namespace content {

PresentationInfo::PresentationInfo(const GURL& presentation_url,
                                   const std::string& presentation_id)
    : presentation_url(presentation_url), presentation_id(presentation_id) {}

PresentationInfo::~PresentationInfo() {}

PresentationError::PresentationError()
    : error_type(PRESENTATION_ERROR_UNKNOWN) {}

PresentationError::PresentationError(PresentationErrorType error_type,
                                     const std::string& message)
    : error_type(error_type), message(message) {}

PresentationError::~PresentationError() {}

}  // namespace content