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_sync_manager_observer.h" | 5 #include "components/sync/engine_impl/js_sync_manager_observer.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
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/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
14 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 14 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
15 #include "components/sync/engine/sync_string_conversions.h" | 15 #include "components/sync/engine/sync_string_conversions.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 const std::string& name, | 85 const std::string& name, |
86 const JsEventDetails& details) { | 86 const JsEventDetails& details) { |
87 if (!event_handler_.IsInitialized()) { | 87 if (!event_handler_.IsInitialized()) { |
88 NOTREACHED(); | 88 NOTREACHED(); |
89 return; | 89 return; |
90 } | 90 } |
91 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); | 91 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); |
92 } | 92 } |
93 | 93 |
94 } // namespace syncer | 94 } // namespace syncer |
OLD | NEW |