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

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

Issue 303263002: sync: move SharedChangeProcessor to components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_REF_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ 6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_REF_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/sync/glue/shared_change_processor.h" 10 #include "components/sync_driver/shared_change_processor.h"
11 #include "sync/api/sync_change_processor.h" 11 #include "sync/api/sync_change_processor.h"
12 #include "sync/api/sync_error_factory.h" 12 #include "sync/api/sync_error_factory.h"
13 13
14 namespace browser_sync { 14 namespace browser_sync {
15 15
16 // A syncer::SyncChangeProcessor stub for interacting with a refcounted 16 // A syncer::SyncChangeProcessor stub for interacting with a refcounted
17 // SharedChangeProcessor. 17 // SharedChangeProcessor.
18 class SharedChangeProcessorRef : public syncer::SyncChangeProcessor, 18 class SharedChangeProcessorRef : public syncer::SyncChangeProcessor,
19 public syncer::SyncErrorFactory { 19 public syncer::SyncErrorFactory {
20 public: 20 public:
(...skipping 19 matching lines...) Expand all
40 const std::string& message) OVERRIDE; 40 const std::string& message) OVERRIDE;
41 41
42 // Default copy and assign welcome (and safe due to refcounted-ness). 42 // Default copy and assign welcome (and safe due to refcounted-ness).
43 43
44 private: 44 private:
45 scoped_refptr<browser_sync::SharedChangeProcessor> change_processor_; 45 scoped_refptr<browser_sync::SharedChangeProcessor> change_processor_;
46 }; 46 };
47 47
48 } // namespace browser_sync 48 } // namespace browser_sync
49 49
50 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ 50 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_REF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698