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