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 SYNC_JS_SYNC_JS_CONTROLLER_H_ | 5 #ifndef SYNC_JS_SYNC_JS_CONTROLLER_H_ |
6 #define SYNC_JS_SYNC_JS_CONTROLLER_H_ | 6 #define SYNC_JS_SYNC_JS_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "sync/base/sync_export.h" | 15 #include "sync/base/sync_export.h" |
16 #include "sync/internal_api/public/util/weak_handle.h" | 16 #include "sync/internal_api/public/util/weak_handle.h" |
17 #include "sync/js/js_controller.h" | 17 #include "sync/js/js_controller.h" |
18 #include "sync/js/js_event_handler.h" | 18 #include "sync/js/js_event_handler.h" |
19 | 19 |
20 namespace syncer { | 20 namespace syncer { |
21 | 21 |
22 class JsBackend; | 22 class JsBackend; |
(...skipping 27 matching lines...) Expand all Loading... |
50 | 50 |
51 WeakHandle<JsBackend> js_backend_; | 51 WeakHandle<JsBackend> js_backend_; |
52 base::ObserverList<JsEventHandler> js_event_handlers_; | 52 base::ObserverList<JsEventHandler> js_event_handlers_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(SyncJsController); | 54 DISALLOW_COPY_AND_ASSIGN(SyncJsController); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace syncer | 57 } // namespace syncer |
58 | 58 |
59 #endif // SYNC_JS_SYNC_JS_CONTROLLER_H_ | 59 #endif // SYNC_JS_SYNC_JS_CONTROLLER_H_ |
OLD | NEW |