aboutsummaryrefslogtreecommitdiff
path: root/mojo/edk/system/ports/port_ref.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/edk/system/ports/port_ref.cc')
-rw-r--r--mojo/edk/system/ports/port_ref.cc36
1 files changed, 0 insertions, 36 deletions
diff --git a/mojo/edk/system/ports/port_ref.cc b/mojo/edk/system/ports/port_ref.cc
deleted file mode 100644
index 675754d..0000000
--- a/mojo/edk/system/ports/port_ref.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 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 "mojo/edk/system/ports/port_ref.h"
-
-#include "mojo/edk/system/ports/port.h"
-
-namespace mojo {
-namespace edk {
-namespace ports {
-
-PortRef::~PortRef() {
-}
-
-PortRef::PortRef() {
-}
-
-PortRef::PortRef(const PortName& name, scoped_refptr<Port> port)
- : name_(name), port_(std::move(port)) {}
-
-PortRef::PortRef(const PortRef& other)
- : name_(other.name_), port_(other.port_) {
-}
-
-PortRef& PortRef::operator=(const PortRef& other) {
- if (&other != this) {
- name_ = other.name_;
- port_ = other.port_;
- }
- return *this;
-}
-
-} // namespace ports
-} // namespace edk
-} // namespace mojo