Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Issue 23851008: Added cache flush on network change to ServiceDiscoveryHostClient (Closed)

Created:
7 years, 3 months ago by Noam Samuel
Modified:
7 years, 3 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Added cache flush on network change to ServiceDiscoveryHostClient ServiceDiscoveryHostClient now listens for IP address changes (and, by extension, sleep/wake) and flushes the cache and resets the utility process. BUG=284673 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221914

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : Changed to invalidate all objects #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -29 lines) Patch
M chrome/browser/local_discovery/privet_device_lister.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/local_discovery/privet_device_lister_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/local_discovery/privet_device_lister_impl.cc View 1 2 3 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/local_discovery/privet_device_lister_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/local_discovery/privet_notifications.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/local_discovery/privet_notifications.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_host_client.h View 1 2 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_host_client.cc View 1 2 3 4 4 chunks +26 lines, -3 lines 0 comments Download
M chrome/browser/resources/local_discovery/local_discovery.js View 1 3 chunks +26 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M chrome/common/local_discovery/service_discovery_client.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/utility/local_discovery/service_discovery_message_handler.cc View 1 2 3 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Noam Samuel
7 years, 3 months ago (2013-09-05 21:24:32 UTC) #1
Vitaly Buka (NO REVIEWS)
we can do this in less complicated way 1. Reset utility process with special message ...
7 years, 3 months ago (2013-09-06 04:59:27 UTC) #2
Noam Samuel
On 2013/09/06 04:59:27, Vitaly Buka wrote: > we can do this in less complicated way ...
7 years, 3 months ago (2013-09-07 00:05:00 UTC) #3
Vitaly Buka (NO REVIEWS)
lgtm https://codereview.chromium.org/23851008/diff/16001/chrome/browser/local_discovery/service_discovery_host_client.cc File chrome/browser/local_discovery/service_discovery_host_client.cc (right): https://codereview.chromium.org/23851008/diff/16001/chrome/browser/local_discovery/service_discovery_host_client.cc#newcode292 chrome/browser/local_discovery/service_discovery_host_client.cc:292: i != service_watcher_callbacks.end();) { I see no reason ...
7 years, 3 months ago (2013-09-07 00:27:50 UTC) #4
Noam Samuel
https://codereview.chromium.org/23851008/diff/16001/chrome/browser/local_discovery/service_discovery_host_client.cc File chrome/browser/local_discovery/service_discovery_host_client.cc (right): https://codereview.chromium.org/23851008/diff/16001/chrome/browser/local_discovery/service_discovery_host_client.cc#newcode292 chrome/browser/local_discovery/service_discovery_host_client.cc:292: i != service_watcher_callbacks.end();) { On 2013/09/07 00:27:51, Vitaly Buka ...
7 years, 3 months ago (2013-09-07 01:34:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/23851008/30001
7 years, 3 months ago (2013-09-07 01:35:11 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/local_discovery/local_discovery.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-07 01:35:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/23851008/30001
7 years, 3 months ago (2013-09-07 04:26:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/23851008/30001
7 years, 3 months ago (2013-09-07 04:50:50 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-07 07:49:43 UTC) #10
Message was sent while issue was closed.
Change committed as 221914

Powered by Google App Engine
This is Rietveld 408576698