OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/task/cancelable_task_tracker.h" | 14 #include "base/task/cancelable_task_tracker.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "sync/api/sync_change_processor.h" | 16 #include "components/sync/api/sync_change_processor.h" |
17 #include "sync/api/sync_data.h" | 17 #include "components/sync/api/sync_data.h" |
18 | 18 |
19 namespace sync_pb { | 19 namespace sync_pb { |
20 class HistoryDeleteDirectiveSpecifics; | 20 class HistoryDeleteDirectiveSpecifics; |
21 } | 21 } |
22 | 22 |
23 namespace history { | 23 namespace history { |
24 | 24 |
25 class HistoryService; | 25 class HistoryService; |
26 | 26 |
27 // DeleteDirectiveHandler sends delete directives created locally to sync | 27 // DeleteDirectiveHandler sends delete directives created locally to sync |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 std::unique_ptr<syncer::SyncChangeProcessor> sync_processor_; | 75 std::unique_ptr<syncer::SyncChangeProcessor> sync_processor_; |
76 base::ThreadChecker thread_checker_; | 76 base::ThreadChecker thread_checker_; |
77 base::WeakPtrFactory<DeleteDirectiveHandler> weak_ptr_factory_; | 77 base::WeakPtrFactory<DeleteDirectiveHandler> weak_ptr_factory_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(DeleteDirectiveHandler); | 79 DISALLOW_COPY_AND_ASSIGN(DeleteDirectiveHandler); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace history | 82 } // namespace history |
83 | 83 |
84 #endif // COMPONENTS_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ | 84 #endif // COMPONENTS_HISTORY_CORE_BROWSER_DELETE_DIRECTIVE_HANDLER_H_ |
OLD | NEW |