OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_JS_SYNC_MANAGER_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_JS_JS_SYNC_MANAGER_OBSERVER_H_ |
6 #define CHROME_BROWSER_SYNC_JS_SYNC_MANAGER_OBSERVER_H_ | 6 #define CHROME_BROWSER_SYNC_JS_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 "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/engine/syncapi.h" |
13 #include "chrome/browser/sync/weak_handle.h" | 13 #include "chrome/browser/sync/weak_handle.h" |
14 | 14 |
15 namespace tracked_objects { | 15 namespace tracked_objects { |
16 class Location; | 16 class Location; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void HandleJsEvent(const tracked_objects::Location& from_here, | 55 void HandleJsEvent(const tracked_objects::Location& from_here, |
56 const std::string& name, const JsEventDetails& details); | 56 const std::string& name, const JsEventDetails& details); |
57 | 57 |
58 WeakHandle<JsEventHandler> event_handler_; | 58 WeakHandle<JsEventHandler> event_handler_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); | 60 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace browser_sync | 63 } // namespace browser_sync |
64 | 64 |
65 #endif // CHROME_BROWSER_SYNC_JS_SYNC_MANAGER_OBSERVER_H_ | 65 #endif // CHROME_BROWSER_SYNC_JS_JS_SYNC_MANAGER_OBSERVER_H_ |
OLD | NEW |