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_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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
16 #include "sync/internal_api/public/util/weak_handle.h" | 15 #include "sync/internal_api/public/util/weak_handle.h" |
17 #include "sync/js/js_arg_list.h" | 16 #include "sync/js/js_arg_list.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 WeakHandle<JsBackend> js_backend_; | 71 WeakHandle<JsBackend> js_backend_; |
73 ObserverList<JsEventHandler> js_event_handlers_; | 72 ObserverList<JsEventHandler> js_event_handlers_; |
74 PendingJsMessageList pending_js_messages_; | 73 PendingJsMessageList pending_js_messages_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(SyncJsController); | 75 DISALLOW_COPY_AND_ASSIGN(SyncJsController); |
77 }; | 76 }; |
78 | 77 |
79 } // namespace syncer | 78 } // namespace syncer |
80 | 79 |
81 #endif // SYNC_JS_SYNC_JS_CONTROLLER_H_ | 80 #endif // SYNC_JS_SYNC_JS_CONTROLLER_H_ |
OLD | NEW |