Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: sync/internal_api/test/null_sync_core_proxy.cc

Issue 280983002: Implement sync in the NonBlockingTypeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp error and some tests Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/sync_core_proxy_impl.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 const DataTypeState& data_type_state,
16 base::WeakPtr<NonBlockingTypeProcessor> processor) {
16 NOTREACHED() << "NullSyncCoreProxy is not meant to be used"; 17 NOTREACHED() << "NullSyncCoreProxy is not meant to be used";
17 } 18 }
18 19
19 void NullSyncCoreProxy::Disconnect(syncer::ModelType type) { 20 void NullSyncCoreProxy::Disconnect(syncer::ModelType type) {
20 NOTREACHED() << "NullSyncCoreProxy is not meant to be used"; 21 NOTREACHED() << "NullSyncCoreProxy is not meant to be used";
21 } 22 }
22 23
23 scoped_ptr<SyncCoreProxy> NullSyncCoreProxy::Clone() const { 24 scoped_ptr<SyncCoreProxy> NullSyncCoreProxy::Clone() const {
24 return scoped_ptr<SyncCoreProxy>(new NullSyncCoreProxy()); 25 return scoped_ptr<SyncCoreProxy>(new NullSyncCoreProxy());
25 } 26 }
26 27
27 } // namespace syncer 28 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_core_proxy_impl.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698