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_encryption_handler_observer.h" | 5 #include "components/sync/engine_impl/js_sync_encryption_handler_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/cryptographer.h" | 13 #include "components/sync/base/cryptographer.h" |
14 #include "components/sync/base/model_type.h" | 14 #include "components/sync/base/model_type.h" |
15 #include "components/sync/base/time.h" | 15 #include "components/sync/base/time.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const std::string& name, | 112 const std::string& name, |
113 const JsEventDetails& details) { | 113 const JsEventDetails& details) { |
114 if (!event_handler_.IsInitialized()) { | 114 if (!event_handler_.IsInitialized()) { |
115 NOTREACHED(); | 115 NOTREACHED(); |
116 return; | 116 return; |
117 } | 117 } |
118 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); | 118 event_handler_.Call(from_here, &JsEventHandler::HandleJsEvent, name, details); |
119 } | 119 } |
120 | 120 |
121 } // namespace syncer | 121 } // namespace syncer |
OLD | NEW |