geolocation (was: Re: chromium v25.0.1364.97 problems)

J.R. Oldroyd fbsd at opal.com
Mon Mar 11 03:42:05 UTC 2013


On Sun, 10 Mar 2013 20:22:08 +0100 René Ladan <r.c.ladan at gmail.com> wrote:
>
> I think the correct syntax is "chrome --v=1" (google for "chromium
> vlog") but VLOG() seems broken. If you replace the VLOG(1) in
> wifi_data_provider_freebsd.cc by a LOG(ERROR) you will see a list of
> access points on the console.
> 
> So a list is retrieved but somehow not processed correctly.
> 

Confirmed that when I replace the VLOG() with LOG(ERROR) it does
show the WiFi AP scan info.  That's good.  The FreeBSD WiFi AP
scan code is still working, then.

VLOG() was working when I wrote the WiFI AP scan code on 23.x,
by the way.

So the AP scan list is returned to DoWifiScanTask() in
wifi_data_provider_common.cc where it is compared to the previous scan
results and if DiffersSignificantly() or it is the first scan,
NotifyListeners() is called.  That's an inline macro that calls
DeviceDataUpdateAvailable() on all registered listeners.

Ok, who here knows how to backtrace C++ callers?

	-jr


More information about the freebsd-chromium mailing list