OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sync/internal_api/public/test/null_sync_core_proxy.h" | 5 #include "sync/internal_api/public/test/null_sync_core_proxy.h" |
6 | 6 |
7 namespace syncer { | 7 namespace syncer { |
8 | 8 |
9 NullSyncCoreProxy::NullSyncCoreProxy() {} | 9 NullSyncCoreProxy::NullSyncCoreProxy() {} |
10 | 10 |
11 NullSyncCoreProxy::~NullSyncCoreProxy() {} | 11 NullSyncCoreProxy::~NullSyncCoreProxy() {} |
12 | 12 |
13 void NullSyncCoreProxy::ConnectTypeToCore( | 13 void NullSyncCoreProxy::ConnectTypeToCore( |
14 syncer::ModelType type, | 14 syncer::ModelType type, |
15 base::WeakPtr<NonBlockingTypeProcessor> processor) { | 15 base::WeakPtr<NonBlockingTypeProcessor> processor) { |
16 NOTREACHED() << "NullSyncCoreProxy is not meant to be used"; | 16 NOTREACHED() << "NullSyncCoreProxy is not meant to be used"; |
17 } | 17 } |
18 | 18 |
| 19 void NullSyncCoreProxy::Disconnect(syncer::ModelType type) { |
| 20 NOTREACHED() << "NullSyncCoreProxy is not meant to be used"; |
| 21 } |
| 22 |
19 scoped_ptr<SyncCoreProxy> NullSyncCoreProxy::Clone() const { | 23 scoped_ptr<SyncCoreProxy> NullSyncCoreProxy::Clone() const { |
20 return scoped_ptr<SyncCoreProxy>(new NullSyncCoreProxy()); | 24 return scoped_ptr<SyncCoreProxy>(new NullSyncCoreProxy()); |
21 } | 25 } |
22 | 26 |
23 } // namespace syncer | 27 } // namespace syncer |
OLD | NEW |