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_GENERIC_CHANGE_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_GENERIC_CHANGE_PROCESSOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_GENERIC_CHANGE_PROCESSOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_GENERIC_CHANGE_PROCESSOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
14 #include "chrome/browser/sync/glue/change_processor.h" | 13 #include "chrome/browser/sync/glue/change_processor.h" |
15 #include "chrome/browser/sync/glue/data_type_controller.h" | 14 #include "chrome/browser/sync/glue/data_type_controller.h" |
16 #include "chrome/browser/sync/glue/data_type_error_handler.h" | 15 #include "chrome/browser/sync/glue/data_type_error_handler.h" |
17 #include "sync/api/sync_change_processor.h" | 16 #include "sync/api/sync_change_processor.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // when it starts up). As such we can't wait until Start(_) has been called, | 94 // when it starts up). As such we can't wait until Start(_) has been called, |
96 // and have to keep a local pointer to the user_share. | 95 // and have to keep a local pointer to the user_share. |
97 syncer::UserShare* const share_handle_; | 96 syncer::UserShare* const share_handle_; |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessor); | 98 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessor); |
100 }; | 99 }; |
101 | 100 |
102 } // namespace browser_sync | 101 } // namespace browser_sync |
103 | 102 |
104 #endif // CHROME_BROWSER_SYNC_GLUE_GENERIC_CHANGE_PROCESSOR_H_ | 103 #endif // CHROME_BROWSER_SYNC_GLUE_GENERIC_CHANGE_PROCESSOR_H_ |
OLD | NEW |