| OLD | NEW |
| 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_H_REF_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_REF_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ |
| 7 |
| 8 #include <string> |
| 7 | 9 |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 10 #include "components/sync_driver/shared_change_processor.h" | 12 #include "components/sync_driver/shared_change_processor.h" |
| 11 #include "sync/api/sync_change_processor.h" | 13 #include "sync/api/sync_change_processor.h" |
| 12 #include "sync/api/sync_error_factory.h" | 14 #include "sync/api/sync_error_factory.h" |
| 13 | 15 |
| 14 namespace sync_driver { | 16 namespace sync_driver { |
| 15 | 17 |
| 16 // A syncer::SyncChangeProcessor stub for interacting with a refcounted | 18 // A syncer::SyncChangeProcessor stub for interacting with a refcounted |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 const std::string& message) override; | 41 const std::string& message) override; |
| 40 | 42 |
| 41 // Default copy and assign welcome (and safe due to refcounted-ness). | 43 // Default copy and assign welcome (and safe due to refcounted-ness). |
| 42 | 44 |
| 43 private: | 45 private: |
| 44 scoped_refptr<SharedChangeProcessor> change_processor_; | 46 scoped_refptr<SharedChangeProcessor> change_processor_; |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace sync_driver | 49 } // namespace sync_driver |
| 48 | 50 |
| 49 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_REF_H_ | 51 #endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_ |
| OLD | NEW |