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

Issue 166373006: Use persistent map of privet tokens for PrivetURLFetcher (Closed)

Created:
6 years, 10 months ago by Noam Samuel
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Use persistent map of privet tokens for PrivetURLFetcher Use a map of privet tokens in PrivetURLFetcher that persists between instantiations. This should cut down on spurious /privet/info calls in cases where spurious calls may cause performance issues (i.e. repeated frequent calls) BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252123

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -155 lines) Patch
M chrome/browser/local_discovery/privet_http.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/local_discovery/privet_http_impl.h View 1 2 3 3 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/local_discovery/privet_http_impl.cc View 1 2 3 3 chunks +6 lines, -24 lines 0 comments Download
M chrome/browser/local_discovery/privet_http_unittest.cc View 1 2 3 13 chunks +39 lines, -68 lines 0 comments Download
M chrome/browser/local_discovery/privet_url_fetcher.h View 1 2 3 3 chunks +8 lines, -23 lines 0 comments Download
M chrome/browser/local_discovery/privet_url_fetcher.cc View 1 2 3 9 chunks +40 lines, -24 lines 0 comments Download
M chrome/browser/local_discovery/privet_url_fetcher_unittest.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Noam Samuel
6 years, 10 months ago (2014-02-14 21:41:59 UTC) #1
Vitaly Buka (NO REVIEWS)
Do we care that device may change IP if browser alive for a long time. ...
6 years, 10 months ago (2014-02-14 22:57:45 UTC) #2
Noam Samuel
On 2014/02/14 22:57:45, Vitaly Buka wrote: > Do we care that device may change IP ...
6 years, 10 months ago (2014-02-14 22:59:43 UTC) #3
Vitaly Buka (NO REVIEWS)
On 2014/02/14 22:59:43, Noam Samuel wrote: > On 2014/02/14 22:57:45, Vitaly Buka wrote: > > ...
6 years, 10 months ago (2014-02-14 23:02:02 UTC) #4
Noam Samuel
On 2014/02/14 23:02:02, Vitaly Buka wrote: > On 2014/02/14 22:59:43, Noam Samuel wrote: > > ...
6 years, 10 months ago (2014-02-14 23:09:08 UTC) #5
Noam Samuel
https://codereview.chromium.org/166373006/diff/1/chrome/browser/local_discovery/privet_url_fetcher.cc File chrome/browser/local_discovery/privet_url_fetcher.cc (right): https://codereview.chromium.org/166373006/diff/1/chrome/browser/local_discovery/privet_url_fetcher.cc#newcode21 chrome/browser/local_discovery/privet_url_fetcher.cc:21: namespace { On 2014/02/14 22:57:46, Vitaly Buka wrote: > ...
6 years, 10 months ago (2014-02-14 23:26:12 UTC) #6
Vitaly Buka (NO REVIEWS)
lgtm https://chromiumcodereview.appspot.com/166373006/diff/90001/chrome/browser/local_discovery/privet_url_fetcher.cc File chrome/browser/local_discovery/privet_url_fetcher.cc (right): https://chromiumcodereview.appspot.com/166373006/diff/90001/chrome/browser/local_discovery/privet_url_fetcher.cc#newcode84 chrome/browser/local_discovery/privet_url_fetcher.cc:84: if (found != token_map_holder->map.end()) { return found != ...
6 years, 10 months ago (2014-02-14 23:34:12 UTC) #7
Noam Samuel
https://codereview.chromium.org/166373006/diff/90001/chrome/browser/local_discovery/privet_url_fetcher.cc File chrome/browser/local_discovery/privet_url_fetcher.cc (right): https://codereview.chromium.org/166373006/diff/90001/chrome/browser/local_discovery/privet_url_fetcher.cc#newcode84 chrome/browser/local_discovery/privet_url_fetcher.cc:84: if (found != token_map_holder->map.end()) { On 2014/02/14 23:34:12, Vitaly ...
6 years, 10 months ago (2014-02-15 00:22:15 UTC) #8
Noam Samuel
The CQ bit was checked by noamsml@chromium.org
6 years, 10 months ago (2014-02-18 19:03:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/166373006/140001
6 years, 10 months ago (2014-02-18 19:04:27 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-18 19:04:29 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/local_discovery/privet_url_fetcher.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-18 19:04:30 UTC) #12
Noam Samuel
The CQ bit was checked by noamsml@chromium.org
6 years, 10 months ago (2014-02-19 20:26:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/166373006/250001
6 years, 10 months ago (2014-02-19 20:48:53 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 23:13:03 UTC) #15
Message was sent while issue was closed.
Change committed as 252123

Powered by Google App Engine
This is Rietveld 408576698