| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chrome/common. (https://codereview.chromium.org/250793011/)
Reason for revert:
Reland original patch. The revert didn't solve the sizes regression.
Original issue's description:
> Revert of Move service_discovery_client_impl.* into chrome/common. (https://codereview.chromium.org/256923003/)
>
> Reason for revert:
> [Sheriff] Speculating that this lead to a sizes regression:
> https://chromeperf.appspot.com/report?masters=Chromium&bots=chromium-rel-linux-64&tests=sizes&rev=266525&checked=core
>
> Will reland otherwise.
>
> Original issue's description:
> > Move service_discovery_client_impl.* into chrome/common.
> > It's need to be used by utility and browser processes.
> >
> > BUG=349645
> >
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266487
>
> TBR=thestig@chromium.org,vitalybuka@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=349645
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266535
TBR=thestig@chromium.org,vitalybuka@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=349645
Review URL: https://codereview.chromium.org/252023003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266560 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/256923003/)
Reason for revert:
[Sheriff] Speculating that this lead to a sizes regression:
https://chromeperf.appspot.com/report?masters=Chromium&bots=chromium-rel-linux-64&tests=sizes&rev=266525&checked=core
Will reland otherwise.
Original issue's description:
> Move service_discovery_client_impl.* into chrome/common.
> It's need to be used by utility and browser processes.
>
> BUG=349645
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266487
TBR=thestig@chromium.org,vitalybuka@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=349645
Review URL: https://codereview.chromium.org/250793011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266535 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
| |
It's need to be used by utility and browser processes.
BUG=349645
Review URL: https://codereview.chromium.org/256923003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266487 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
| |
BUG=322664
Review URL: https://codereview.chromium.org/184003002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257251 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
| |
This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.
BUG=246708
Review URL: https://codereview.chromium.org/157013004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249560 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
| |
Add method to ServiceDiscoveryClient that will allow it to actively refresh
stale services when their TTL runs out.
BUG=336883
Review URL: https://codereview.chromium.org/141583010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247857 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
uses one socket per network interface and IP protocol.
Windows version enumerate network interfaces during pre-sandbox initialization in Utility process. It creates and store socket pert interface and IP protocols version. Late these sockets will be used be MDnsSocketFactory implementation.
Linux version enumerates network in browser process before starting utility process. Then sockets will be sent by IPC to utility process and used by MDnsSocketFactory implementation.
BUG=319068
Review URL: https://codereview.chromium.org/101083003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239751 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
| |
Try rebind several time. Rebinding usually fails some time after network change event.
BUG=297212
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23830011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225148 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
| |
ServiceDiscoveryHostClient now listens for IP address changes (and, by
extension, sleep/wake) and flushes the cache and resets the utility process.
BUG=284673
Review URL: https://chromiumcodereview.appspot.com/23851008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221914 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Local discovery listens for mDns traffic inside Utility process with enabled setuid sandbox (seccomp-BPF is not enabled). Setuid sandbox fails ::socket calls. To overcome this we use LocalDiscoveryMsg_SetSockets IPC message to pass two new UDP sockets created in browser process. These sockets will be provided for net::MDnsClient using net::PlatformSocketFactory.
Added check to make sure that only Local Discovery Utility process handles LocalDiscovery* IPC messages.
This code, as well as Windows version, is not executed without --enable-device-discovery switch.
BUG=277654
Review URL: https://chromiumcodereview.appspot.com/23482003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220760 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
| |
Make local domain resolver send both ipv4 and ipv6 addresses, and make
the asynchronous HTTP factory prefer ipv4 to ipv6.
BUG=
Review URL: https://chromiumcodereview.appspot.com/23171031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219457 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix deadlock in local discovery process by introducing separate shutdown step
for local discovery.
2. Fix DCHECK error in local discovery process by shutting down MDns on the IO
thread.
3. Remove and then disable failing DHECKs requiring the service discovery
prcoess host to be shut down on its owning thread, as we cannot guarantee that
easily, and it is safe to shut it down on the IO thread so long as it has no
listeners (for which there are DCHECKs).
BUG=
Review URL: https://chromiumcodereview.appspot.com/22021004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217910 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for local domain resolution in ServiceDiscoveryHostClient and
ServiceDiscoveryMessageHandler. This will allow the browser process to resolve
A and AAAA records for "*.local" domains. This does not yet include support for
resolving domains through the default domain resolver.
BUG=
Review URL: https://chromiumcodereview.appspot.com/19924004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213523 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Refactor LocalDomainResolver to separate the interface and move it into
ServiceDiscoveryClient. This is part of adding multiprocess support for local
domain resolution.
BUG=
Review URL: https://chromiumcodereview.appspot.com/19540023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213212 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
| |
BUG=245391
Review URL: https://chromiumcodereview.appspot.com/19284005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212447 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
| |
BUG=245391
Review URL: https://chromiumcodereview.appspot.com/19149002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211657 0039d316-1c4b-4281-b951-d872f2087c98
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Delegate replaced with callback.
Removed unrequied methods.
BUG=245391
TBR=gene
Review URL: https://chromiumcodereview.appspot.com/18855011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
BUG=245391
Review URL: https://chromiumcodereview.appspot.com/18568002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210179 0039d316-1c4b-4281-b951-d872f2087c98
|