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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 #ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_
6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ 6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "components/sync/api/sync_change_processor.h"
13 #include "components/sync/api/sync_error_factory.h"
12 #include "components/sync_driver/shared_change_processor.h" 14 #include "components/sync_driver/shared_change_processor.h"
13 #include "sync/api/sync_change_processor.h"
14 #include "sync/api/sync_error_factory.h"
15 15
16 namespace sync_driver { 16 namespace sync_driver {
17 17
18 // A syncer::SyncChangeProcessor stub for interacting with a refcounted 18 // A syncer::SyncChangeProcessor stub for interacting with a refcounted
19 // SharedChangeProcessor. 19 // SharedChangeProcessor.
20 class SharedChangeProcessorRef : public syncer::SyncChangeProcessor, 20 class SharedChangeProcessorRef : public syncer::SyncChangeProcessor,
21 public syncer::SyncErrorFactory { 21 public syncer::SyncErrorFactory {
22 public: 22 public:
23 SharedChangeProcessorRef( 23 SharedChangeProcessorRef(
24 const scoped_refptr<SharedChangeProcessor>& 24 const scoped_refptr<SharedChangeProcessor>&
(...skipping 17 matching lines...) Expand all
42 42
43 // Default copy and assign welcome (and safe due to refcounted-ness). 43 // Default copy and assign welcome (and safe due to refcounted-ness).
44 44
45 private: 45 private:
46 scoped_refptr<SharedChangeProcessor> change_processor_; 46 scoped_refptr<SharedChangeProcessor> change_processor_;
47 }; 47 };
48 48
49 } // namespace sync_driver 49 } // namespace sync_driver
50 50
51 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ 51 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_
OLDNEW
« no previous file with comments | « components/sync_driver/shared_change_processor.cc ('k') | components/sync_driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698