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_SYNC_MANAGER_OBSERVER_H_ | 5 #ifndef SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ |
6 #define SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ | 6 #define SYNC_INTERNAL_API_JS_SYNC_MANAGER_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 "sync/internal_api/public/sync_manager.h" | 12 #include "sync/internal_api/public/sync_manager.h" |
14 #include "sync/internal_api/public/util/weak_handle.h" | 13 #include "sync/internal_api/public/util/weak_handle.h" |
15 #include "sync/protocol/sync_protocol_error.h" | 14 #include "sync/protocol/sync_protocol_error.h" |
16 | 15 |
17 namespace tracked_objects { | 16 namespace tracked_objects { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const std::string& name, const JsEventDetails& details); | 57 const std::string& name, const JsEventDetails& details); |
59 | 58 |
60 WeakHandle<JsEventHandler> event_handler_; | 59 WeakHandle<JsEventHandler> event_handler_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); | 61 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace syncer | 64 } // namespace syncer |
66 | 65 |
67 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ | 66 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ |
OLD | NEW |