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 SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ | 5 #ifndef SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ |
6 #define SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ | 6 #define SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
15 #include "sync/internal_api/public/sync_manager.h" | 14 #include "sync/internal_api/public/sync_manager.h" |
16 #include "sync/internal_api/public/util/weak_handle.h" | 15 #include "sync/internal_api/public/util/weak_handle.h" |
17 #include "sync/syncable/transaction_observer.h" | 16 #include "sync/syncable/transaction_observer.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void HandleJsEvent( | 60 void HandleJsEvent( |
62 const tracked_objects::Location& from_here, | 61 const tracked_objects::Location& from_here, |
63 const std::string& name, const JsEventDetails& details); | 62 const std::string& name, const JsEventDetails& details); |
64 | 63 |
65 DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver); | 64 DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver); |
66 }; | 65 }; |
67 | 66 |
68 } // namespace syncer | 67 } // namespace syncer |
69 | 68 |
70 #endif // SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ | 69 #endif // SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_ |
OLD | NEW |