Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_util.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_util.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_util.cc |
deleted file mode 100644 |
index 7bbe1d7274325ba30691f33f984645fb5bc7a4ce..0000000000000000000000000000000000000000 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_util.cc |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Copyright 2014 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 "third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_util.h" |
- |
-namespace mojo { |
- |
-size_t CopyableType::num_instances_ = 0; |
-size_t MoveOnlyType::num_instances_ = 0; |
- |
-CopyableType::CopyableType() : copied_(false), ptr_(this) { |
- num_instances_++; |
-} |
- |
-CopyableType::CopyableType(const CopyableType& other) |
- : copied_(true), ptr_(other.ptr()) { |
- num_instances_++; |
-} |
- |
-CopyableType& CopyableType::operator=(const CopyableType& other) { |
- copied_ = true; |
- ptr_ = other.ptr(); |
- return *this; |
-} |
- |
-CopyableType::~CopyableType() { |
- num_instances_--; |
-} |
- |
-MoveOnlyType::MoveOnlyType() : moved_(false), ptr_(this) { |
- num_instances_++; |
-} |
- |
-MoveOnlyType::MoveOnlyType(MoveOnlyType&& other) |
- : moved_(true), ptr_(other.ptr()) { |
- num_instances_++; |
-} |
- |
-MoveOnlyType& MoveOnlyType::operator=(MoveOnlyType&& other) { |
- moved_ = true; |
- ptr_ = other.ptr(); |
- return *this; |
-} |
- |
-MoveOnlyType::~MoveOnlyType() { |
- num_instances_--; |
-} |
- |
-} // namespace mojo |