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

Issue 1977963002: [remoting host] Only watch for material changes to NSS DB files (Closed)

Created:
4 years, 7 months ago by Lambros
Modified:
4 years, 7 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[remoting host] Only watch for material changes to NSS DB files The remoting host process (on Linux) self-restarts if it detects changes to the NSS DB directory. This modifies the watcher to only trigger on material changes to the NSS DB files. This should reduce incidences of false-restarts of the host. BUG=609096 Committed: https://crrev.com/81e5e053c458bd919fff0575aaaaea9a2a4a050d Cr-Commit-Position: refs/heads/master@{#393879}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments, move restart_timer, git cl format #

Total comments: 2

Patch Set 3 : ThreadChecker #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -80 lines) Patch
M remoting/host/linux/certificate_watcher.h View 1 3 chunks +11 lines, -18 lines 0 comments Download
M remoting/host/linux/certificate_watcher.cc View 1 2 3 4 chunks +158 lines, -40 lines 0 comments Download
M remoting/host/linux/certificate_watcher_unittest.cc View 1 6 chunks +45 lines, -22 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Lambros
I had to refactor this because of the extra data and work done on the ...
4 years, 7 months ago (2016-05-13 19:30:41 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/1977963002/diff/1/remoting/host/linux/certificate_watcher.cc File remoting/host/linux/certificate_watcher.cc (right): https://codereview.chromium.org/1977963002/diff/1/remoting/host/linux/certificate_watcher.cc#newcode28 remoting/host/linux/certificate_watcher.cc:28: const char* const kCertFiles[] = {"cert9.db", "key4.db", "pkcs11.txt"}; Declare ...
4 years, 7 months ago (2016-05-13 22:03:52 UTC) #3
Lambros
https://codereview.chromium.org/1977963002/diff/1/remoting/host/linux/certificate_watcher.cc File remoting/host/linux/certificate_watcher.cc (right): https://codereview.chromium.org/1977963002/diff/1/remoting/host/linux/certificate_watcher.cc#newcode28 remoting/host/linux/certificate_watcher.cc:28: const char* const kCertFiles[] = {"cert9.db", "key4.db", "pkcs11.txt"}; On ...
4 years, 7 months ago (2016-05-14 01:27:52 UTC) #4
Sergey Ulanov
lgtm https://codereview.chromium.org/1977963002/diff/20001/remoting/host/linux/certificate_watcher.cc File remoting/host/linux/certificate_watcher.cc (right): https://codereview.chromium.org/1977963002/diff/20001/remoting/host/linux/certificate_watcher.cc#newcode32 remoting/host/linux/certificate_watcher.cc:32: class CertDbContentWatcher { Please add ThreadChecker in this ...
4 years, 7 months ago (2016-05-14 05:43:46 UTC) #5
Lambros
https://codereview.chromium.org/1977963002/diff/20001/remoting/host/linux/certificate_watcher.cc File remoting/host/linux/certificate_watcher.cc (right): https://codereview.chromium.org/1977963002/diff/20001/remoting/host/linux/certificate_watcher.cc#newcode32 remoting/host/linux/certificate_watcher.cc:32: class CertDbContentWatcher { On 2016/05/14 05:43:46, Sergey Ulanov wrote: ...
4 years, 7 months ago (2016-05-16 17:35:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977963002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977963002/40001
4 years, 7 months ago (2016-05-16 17:35:41 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/6142) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-16 17:38:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977963002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977963002/60001
4 years, 7 months ago (2016-05-16 18:00:32 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-16 18:36:26 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 18:38:07 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/81e5e053c458bd919fff0575aaaaea9a2a4a050d
Cr-Commit-Position: refs/heads/master@{#393879}

Powered by Google App Engine
This is Rietveld 408576698