New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 811497 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 23
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Bug

Blocking:
issue 721401



Sign in to add a comment

Migrate chrome/browser/printing/cloud_print/privet_traffic_detector.h to using udp_socket.mojom

Project Member Reported by xunji...@chromium.org, Feb 12 2018

Issue description

chrome/browser/printing/cloud_print/privet_traffic_detector.h uses net::DatagramServerSocket. As a part of network servicification, all interactions with //net needs to be done through mojo APIs.

Network Service has a mojo API for UDP sockets (see //services/network/public/interfaces/udp_socket.mojom). chrome/browser/printing/cloud_print/privet_traffic_detector.h needs to be migrated to using it.

An example of migrating to udp_socket.mojom can be found in https://chromium-review.googlesource.com/c/chromium/src/+/904266. 
 

Comment 1 by dxie@chromium.org, May 15 2018

Labels: -Pri-3 Proj-Servicification-Canary OS-All Pri-1
Status: Available (was: Untriaged)

Comment 2 by dxie@chromium.org, May 18 2018

Labels: -OS-All OS-Windows OS-Linux OS-Mac OS-Chrome OS-Android

Comment 3 by mef@chromium.org, Jun 7 2018

Owner: lilyhoughton@chromium.org
Status: Assigned (was: Available)
Project Member

Comment 4 by bugdroid1@chromium.org, Jul 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bf41b7c19a4f8a10a55399774265aa820a1826c6

commit bf41b7c19a4f8a10a55399774265aa820a1826c6
Author: Lily Houghton <lilyhoughton@chromium.org>
Date: Mon Jul 23 19:53:31 2018

Migrate PrivetTrafficDetector from net::DatagramServerSocket to network::mojom::UDPSocket

As part of the network servicification project, this CL replaces the use
of net/ sockets in the PrivetTrafficDetector class with the UDP socket
interfaces in the network service.

Bug:  811497 
Change-Id: I0f0295f032684b0e6a32de222760cfeb409c7d21
Reviewed-on: https://chromium-review.googlesource.com/1127268
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Helen Li <xunjieli@chromium.org>
Commit-Queue: Lily Houghton <lilyhoughton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577225}
[modify] https://crrev.com/bf41b7c19a4f8a10a55399774265aa820a1826c6/chrome/browser/printing/cloud_print/privet_notifications.cc
[modify] https://crrev.com/bf41b7c19a4f8a10a55399774265aa820a1826c6/chrome/browser/printing/cloud_print/privet_traffic_detector.cc
[modify] https://crrev.com/bf41b7c19a4f8a10a55399774265aa820a1826c6/chrome/browser/printing/cloud_print/privet_traffic_detector.h

Status: Fixed (was: Assigned)

Sign in to add a comment