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 #include "components/sync/core_impl/js_mutation_event_observer.h" | 5 #include "components/sync/engine_impl/js_mutation_event_observer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "components/sync/js/js_event_details.h" | 13 #include "components/sync/js/js_event_details.h" |
14 #include "components/sync/js/js_event_handler.h" | 14 #include "components/sync/js/js_event_handler.h" |
15 | 15 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const std::string& name, | 98 const std::string& name, |
99 const JsEventDetails& details) { | 99 const JsEventDetails& details) { |
100 if (!event_handler_.IsInitialized()) { | 100 if (!event_handler_.IsInitialized()) { |
101 NOTREACHED(); | 101 NOTREACHED(); |
102 return; | 102 return; |
103 } | 103 } |
104 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); | 104 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); |
105 } | 105 } |
106 | 106 |
107 } // namespace syncer | 107 } // namespace syncer |
OLD | NEW |