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

Side by Side Diff: components/sync_driver/shared_change_processor_ref.cc

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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 "components/sync_driver/shared_change_processor_ref.h" 5 #include "components/sync_driver/shared_change_processor_ref.h"
6 6
7 namespace browser_sync { 7 namespace sync_driver {
8 8
9 SharedChangeProcessorRef::SharedChangeProcessorRef( 9 SharedChangeProcessorRef::SharedChangeProcessorRef(
10 const scoped_refptr<SharedChangeProcessor>& change_processor) 10 const scoped_refptr<SharedChangeProcessor>& change_processor)
11 : change_processor_(change_processor) { 11 : change_processor_(change_processor) {
12 DCHECK(change_processor_.get()); 12 DCHECK(change_processor_.get());
13 } 13 }
14 14
15 SharedChangeProcessorRef::~SharedChangeProcessorRef() {} 15 SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
16 16
17 syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges( 17 syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges(
(...skipping 14 matching lines...) Expand all
32 return change_processor_->UpdateDataTypeContext( 32 return change_processor_->UpdateDataTypeContext(
33 type, refresh_status, context); 33 type, refresh_status, context);
34 } 34 }
35 35
36 syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError( 36 syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError(
37 const tracked_objects::Location& from_here, 37 const tracked_objects::Location& from_here,
38 const std::string& message) { 38 const std::string& message) {
39 return change_processor_->CreateAndUploadError(from_here, message); 39 return change_processor_->CreateAndUploadError(from_here, message);
40 } 40 }
41 41
42 } // namespace browser_sync 42 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/shared_change_processor_ref.h ('k') | components/sync_driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698