OLD | NEW |
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 CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "chrome/browser/sync/glue/shared_change_processor.h" | 10 #include "chrome/browser/sync/glue/shared_change_processor.h" |
12 #include "sync/api/sync_change_processor.h" | 11 #include "sync/api/sync_change_processor.h" |
13 #include "sync/api/sync_error_factory.h" | 12 #include "sync/api/sync_error_factory.h" |
14 | 13 |
15 namespace browser_sync { | 14 namespace browser_sync { |
16 | 15 |
17 // A syncer::SyncChangeProcessor stub for interacting with a refcounted | 16 // A syncer::SyncChangeProcessor stub for interacting with a refcounted |
(...skipping 18 matching lines...) Expand all Loading... |
36 | 35 |
37 // Default copy and assign welcome (and safe due to refcounted-ness). | 36 // Default copy and assign welcome (and safe due to refcounted-ness). |
38 | 37 |
39 private: | 38 private: |
40 scoped_refptr<browser_sync::SharedChangeProcessor> change_processor_; | 39 scoped_refptr<browser_sync::SharedChangeProcessor> change_processor_; |
41 }; | 40 }; |
42 | 41 |
43 } // namespace browser_sync | 42 } // namespace browser_sync |
44 | 43 |
45 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ | 44 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_REF_H_ |
OLD | NEW |