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_SYNC_MANAGER_OBSERVER_H_ | 5 #ifndef SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ | 6 #define SYNC_INTERNAL_API_JS_SYNC_MANAGER_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 "chrome/browser/sync/internal_api/sync_manager.h" | 13 #include "sync/internal_api/sync_manager.h" |
14 #include "sync/protocol/sync_protocol_error.h" | 14 #include "sync/protocol/sync_protocol_error.h" |
15 #include "sync/util/weak_handle.h" | 15 #include "sync/util/weak_handle.h" |
16 | 16 |
17 namespace tracked_objects { | 17 namespace tracked_objects { |
18 class Location; | 18 class Location; |
19 } // namespace tracked_objects | 19 } // namespace tracked_objects |
20 | 20 |
21 namespace browser_sync { | 21 namespace browser_sync { |
22 | 22 |
23 class JsEventDetails; | 23 class JsEventDetails; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void HandleJsEvent(const tracked_objects::Location& from_here, | 59 void HandleJsEvent(const tracked_objects::Location& from_here, |
60 const std::string& name, const JsEventDetails& details); | 60 const std::string& name, const JsEventDetails& details); |
61 | 61 |
62 WeakHandle<JsEventHandler> event_handler_; | 62 WeakHandle<JsEventHandler> event_handler_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); | 64 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace browser_sync | 67 } // namespace browser_sync |
68 | 68 |
69 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ | 69 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ |
OLD | NEW |