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

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

Issue 1368683003: USS SyncContextProxy / data type activation refactoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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_context_proxy.h" 5 #include "sync/internal_api/public/test/null_sync_context_proxy.h"
6 6
7 namespace syncer_v2 { 7 namespace syncer_v2 {
8 8
9 NullSyncContextProxy::NullSyncContextProxy() { 9 NullSyncContextProxy::NullSyncContextProxy() {
10 } 10 }
11 11
12 NullSyncContextProxy::~NullSyncContextProxy() { 12 NullSyncContextProxy::~NullSyncContextProxy() {
13 } 13 }
14 14
15 void NullSyncContextProxy::ConnectTypeToSync( 15 void NullSyncContextProxy::ConnectTypeToSync(
16 syncer::ModelType type, 16 syncer::ModelType type,
17 const DataTypeState& data_type_state, 17 scoped_ptr<ActivationContext> activation_context) {
18 const UpdateResponseDataList& saved_pending_updates,
19 const base::WeakPtr<ModelTypeProcessor>& type_processor) {
20 NOTREACHED() << "NullSyncContextProxy is not meant to be used"; 18 NOTREACHED() << "NullSyncContextProxy is not meant to be used";
21 } 19 }
22 20
23 void NullSyncContextProxy::Disconnect(syncer::ModelType type) { 21 void NullSyncContextProxy::Disconnect(syncer::ModelType type) {
24 NOTREACHED() << "NullSyncContextProxy is not meant to be used"; 22 NOTREACHED() << "NullSyncContextProxy is not meant to be used";
25 } 23 }
26 24
27 scoped_ptr<SyncContextProxy> NullSyncContextProxy::Clone() const { 25 scoped_ptr<SyncContextProxy> NullSyncContextProxy::Clone() const {
28 return scoped_ptr<SyncContextProxy>(new NullSyncContextProxy()); 26 return scoped_ptr<SyncContextProxy>(new NullSyncContextProxy());
29 } 27 }
30 28
31 } // namespace syncer 29 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698