OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_CORE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ |
6 #define COMPONENTS_SYNC_CORE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "components/sync/base/weak_handle.h" | 16 #include "components/sync/base/weak_handle.h" |
17 #include "components/sync/core/sync_manager.h" | 17 #include "components/sync/engine/sync_manager.h" |
18 #include "components/sync/syncable/transaction_observer.h" | 18 #include "components/sync/syncable/transaction_observer.h" |
19 | 19 |
20 namespace tracked_objects { | 20 namespace tracked_objects { |
21 class Location; | 21 class Location; |
22 } // namespace tracked_objects | 22 } // namespace tracked_objects |
23 | 23 |
24 namespace syncer { | 24 namespace syncer { |
25 | 25 |
26 class JsEventDetails; | 26 class JsEventDetails; |
27 class JsEventHandler; | 27 class JsEventHandler; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const std::string& name, | 60 const std::string& name, |
61 const JsEventDetails& details); | 61 const JsEventDetails& details); |
62 | 62 |
63 base::WeakPtrFactory<JsMutationEventObserver> weak_ptr_factory_; | 63 base::WeakPtrFactory<JsMutationEventObserver> weak_ptr_factory_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver); | 65 DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace syncer | 68 } // namespace syncer |
69 | 69 |
70 #endif // COMPONENTS_SYNC_CORE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ | 70 #endif // COMPONENTS_SYNC_ENGINE_IMPL_JS_MUTATION_EVENT_OBSERVER_H_ |
OLD | NEW |