• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "sync/internal_api/public/test/null_sync_core_proxy.h"
6 
7 namespace syncer {
8 
NullSyncCoreProxy()9 NullSyncCoreProxy::NullSyncCoreProxy() {}
10 
~NullSyncCoreProxy()11 NullSyncCoreProxy::~NullSyncCoreProxy() {}
12 
ConnectTypeToCore(syncer::ModelType type,const DataTypeState & data_type_state,base::WeakPtr<NonBlockingTypeProcessor> processor)13 void NullSyncCoreProxy::ConnectTypeToCore(
14     syncer::ModelType type,
15     const DataTypeState& data_type_state,
16     base::WeakPtr<NonBlockingTypeProcessor> processor) {
17   NOTREACHED() << "NullSyncCoreProxy is not meant to be used";
18 }
19 
Disconnect(syncer::ModelType type)20 void NullSyncCoreProxy::Disconnect(syncer::ModelType type) {
21   NOTREACHED() << "NullSyncCoreProxy is not meant to be used";
22 }
23 
Clone() const24 scoped_ptr<SyncCoreProxy> NullSyncCoreProxy::Clone() const {
25   return scoped_ptr<SyncCoreProxy>(new NullSyncCoreProxy());
26 }
27 
28 }  // namespace syncer
29