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

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

Issue 351523003: sync: Mass rename of non-blocking sync classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const ref some smart pointers Created 6 years, 5 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
OLDNEW
(Empty)
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_context_proxy.h"
6
7 namespace syncer {
8
9 NullSyncContextProxy::NullSyncContextProxy() {
10 }
11
12 NullSyncContextProxy::~NullSyncContextProxy() {
13 }
14
15 void NullSyncContextProxy::ConnectTypeToSync(
16 syncer::ModelType type,
17 const DataTypeState& data_type_state,
18 const base::WeakPtr<ModelTypeSyncProxyImpl>& type_sync_proxy) {
19 NOTREACHED() << "NullSyncContextProxy is not meant to be used";
20 }
21
22 void NullSyncContextProxy::Disconnect(syncer::ModelType type) {
23 NOTREACHED() << "NullSyncContextProxy is not meant to be used";
24 }
25
26 scoped_ptr<SyncContextProxy> NullSyncContextProxy::Clone() const {
27 return scoped_ptr<SyncContextProxy>(new NullSyncContextProxy());
28 }
29
30 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/internal_api/test/null_sync_core_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698