• Steven Bennetts's avatar
    Add CrosNetworkConfig.ConfigureNetwork and use mojo in network_config.js · 0fe2f506
    Steven Bennetts authored
    This CL:
    * Converts network_config.js to use the cros_network_config mojo API.
    * Converts network configuration components to use the mojo API.
    * Converts all network config elements to use mojo policy behaviors
      and indicators. (Non mojo policy behaviors and indicators are no
      longer in use and will be removed in a follow-up).
    * Moves requesting of ManagedProperties and GlobalPolicy to
      network_config.js (instead of being passed by dialog wrappers).
    * Wraps the <internet-dialog> instance in internet_page.html with a
      dom-if template to avoid unnecessary mojo calls and avoid reuse edge
      cases.
    * Adds mojo bindings to internet_config_dialog.cc
    * Eliminates CrPolicyNetworkBehaviorTest which fails now that
      internet_page.html no longer pulls in the behavior. A follow-up will
      remove the behavior entirely.
    
    Bug: 1001598
    Change-Id: I93167de671b04b1bb9b8171975b76f89d1c0492a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803724
    Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
    Auto-Submit: Steven Bennetts <stevenjb@chromium.org>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#698601}
    0fe2f506
BUILD.gn 2.66 KB