| Index: components/sync/core_impl/test/data_type_error_handler_mock.cc
|
| diff --git a/components/sync/core_impl/test/data_type_error_handler_mock.cc b/components/sync/core_impl/test/data_type_error_handler_mock.cc
|
| deleted file mode 100644
|
| index 3005dace84ce79dccbed1fb6effcca11d48db5bf..0000000000000000000000000000000000000000
|
| --- a/components/sync/core_impl/test/data_type_error_handler_mock.cc
|
| +++ /dev/null
|
| @@ -1,35 +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 "components/sync/core/test/data_type_error_handler_mock.h"
|
| -
|
| -namespace syncer {
|
| -
|
| -DataTypeErrorHandlerMock::DataTypeErrorHandlerMock() {}
|
| -
|
| -DataTypeErrorHandlerMock::~DataTypeErrorHandlerMock() {
|
| - DCHECK_EQ(SyncError::UNSET, expected_error_type_);
|
| -}
|
| -
|
| -void DataTypeErrorHandlerMock::OnSingleDataTypeUnrecoverableError(
|
| - const SyncError& error) {
|
| - DCHECK_NE(SyncError::UNSET, expected_error_type_);
|
| - DCHECK(error.IsSet());
|
| - DCHECK_EQ(expected_error_type_, error.error_type());
|
| - expected_error_type_ = SyncError::UNSET;
|
| -}
|
| -
|
| -SyncError DataTypeErrorHandlerMock::CreateAndUploadError(
|
| - const tracked_objects::Location& location,
|
| - const std::string& message,
|
| - ModelType type) {
|
| - return SyncError(location, SyncError::DATATYPE_ERROR, message, type);
|
| -}
|
| -
|
| -void DataTypeErrorHandlerMock::ExpectError(SyncError::ErrorType error_type) {
|
| - DCHECK_EQ(SyncError::UNSET, expected_error_type_);
|
| - expected_error_type_ = error_type;
|
| -}
|
| -
|
| -} // namespace syncer
|
|
|