• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Feb-2021-

BUILD.gnH A D16-Feb-2021795 3831

DEPSH A D16-Feb-202147 43

READMEH A D16-Feb-2021923 1713

js_backend.hH A D16-Feb-2021831 3416

js_controller.hH A D16-Feb-20211.3 KiB4114

js_event_details.ccH A D16-Feb-2021747 3117

js_event_details.hH A D16-Feb-20211.2 KiB4822

js_event_details_unittest.ccH A D16-Feb-2021961 4024

js_event_handler.hH A D16-Feb-2021709 3014

js_test_util.ccH A D16-Feb-20212.3 KiB8453

js_test_util.hH A D16-Feb-20212.3 KiB7952

sync_js_controller.ccH A D16-Feb-20211.7 KiB5638

sync_js_controller.hH A D16-Feb-20211.8 KiB5932

sync_js_controller_unittest.ccH A D16-Feb-20212 KiB6145

README

1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5This framework was once used to implement an asynchronous request/reply
6protocol between the chrome://sync-internals page and the sync backend thread.
7Much of it has been removed in favor of an ad-hoc system that allows us to
8offer better safety guarantees, and to dispatch requests to different threads.
9
10All that remains are some WeakHandles that allow us to send JsEvents from the
11sync backend to chrome://sync-internals.  The SyncInternalsUI implements JsEventHandler in
12order to receive these events.  The SyncManager implements JsBackend in order
13to send them.  The SyncJsController acts as an intermediary between them.
14
15The old framework may still be useful to someone.  Feel free to retrieve it
16from SVN history if you feel you can make use of it.
17