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

Issue 1422463007: DevTools: use inotify to pick changes on the filesystem. (Closed)

Created:
5 years, 1 month ago by pfeldman
Modified:
5 years, 1 month ago
Reviewers:
dgozman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: use inotify to pick changes on the filesystem. Committed: https://crrev.com/7d01b8735bba35b97f9cea3ebceaf8af769b7610 Cr-Commit-Position: refs/heads/master@{#358015} BUG=316106

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 13

Patch Set 4 : review comments addressed #

Total comments: 1

Patch Set 5 : removed listener #

Total comments: 2

Patch Set 6 : same w/ default throttle #

Patch Set 7 : same w/ gn fixed #

Patch Set 8 : build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -68 lines) Patch
M chrome/browser/devtools/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_file_helper.h View 1 2 3 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_file_helper.cc View 1 2 3 4 chunks +24 lines, -1 line 0 comments Download
A chrome/browser/devtools/devtools_file_watcher.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/devtools/devtools_file_watcher.cc View 1 2 3 4 5 6 7 1 chunk +180 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_debugger.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/devtools.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js View 1 2 3 4 chunks +31 lines, -1 line 0 comments Download
D third_party/WebKit/Source/devtools/front_end/bindings/WorkspaceController.js View 1 2 3 4 1 chunk +0 lines, -63 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/module.json View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/devtools.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
pfeldman
5 years, 1 month ago (2015-11-03 23:50:15 UTC) #3
dgozman
https://codereview.chromium.org/1422463007/diff/40001/chrome/browser/devtools/devtools_file_watcher.cc File chrome/browser/devtools/devtools_file_watcher.cc (right): https://codereview.chromium.org/1422463007/diff/40001/chrome/browser/devtools/devtools_file_watcher.cc#newcode21 chrome/browser/devtools/devtools_file_watcher.cc:21: typedef base::Callback<void(const base::FilePath&, int)> WatchCallback; There is exactly same ...
5 years, 1 month ago (2015-11-04 20:11:29 UTC) #4
pfeldman
https://codereview.chromium.org/1422463007/diff/40001/chrome/browser/devtools/devtools_file_watcher.cc File chrome/browser/devtools/devtools_file_watcher.cc (right): https://codereview.chromium.org/1422463007/diff/40001/chrome/browser/devtools/devtools_file_watcher.cc#newcode21 chrome/browser/devtools/devtools_file_watcher.cc:21: typedef base::Callback<void(const base::FilePath&, int)> WatchCallback; On 2015/11/04 20:11:29, dgozman ...
5 years, 1 month ago (2015-11-05 00:18:42 UTC) #5
dgozman
https://codereview.chromium.org/1422463007/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools.js File third_party/WebKit/Source/devtools/front_end/devtools.js (right): https://codereview.chromium.org/1422463007/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools.js#newcode179 third_party/WebKit/Source/devtools/front_end/devtools.js:179: fileSystemFilesChanged: function(path) JSDoc please. Also, you pass paths instead ...
5 years, 1 month ago (2015-11-05 00:46:42 UTC) #6
dgozman
lgtm https://codereview.chromium.org/1422463007/diff/80001/chrome/browser/devtools/devtools_file_watcher.cc File chrome/browser/devtools/devtools_file_watcher.cc (right): https://codereview.chromium.org/1422463007/diff/80001/chrome/browser/devtools/devtools_file_watcher.cc#newcode94 chrome/browser/devtools/devtools_file_watcher.cc:94: watchers_.erase(path); Should we remove subfolders of path from ...
5 years, 1 month ago (2015-11-05 01:13:51 UTC) #7
pfeldman
On 2015/11/05 01:13:51, dgozman wrote: > lgtm > > https://codereview.chromium.org/1422463007/diff/80001/chrome/browser/devtools/devtools_file_watcher.cc > File chrome/browser/devtools/devtools_file_watcher.cc (right): > ...
5 years, 1 month ago (2015-11-05 01:31:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422463007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422463007/80001
5 years, 1 month ago (2015-11-05 01:33:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422463007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422463007/100001
5 years, 1 month ago (2015-11-05 01:49:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/25813)
5 years, 1 month ago (2015-11-05 02:04:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422463007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422463007/120001
5 years, 1 month ago (2015-11-05 02:52:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/102871)
5 years, 1 month ago (2015-11-05 02:58:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422463007/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422463007/140001
5 years, 1 month ago (2015-11-05 06:18:05 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-05 08:24:43 UTC) #25
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/bindings/WorkspaceController.js: While running git rm third_party/WebKit/Source/devtools/front_end/bindings/WorkspaceController.js; fatal: pathspec 'third_party/WebKit/Source/devtools/front_end/bindings/WorkspaceController.js' did ...
5 years, 1 month ago (2015-11-05 08:25:11 UTC) #26
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 08:25:30 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7d01b8735bba35b97f9cea3ebceaf8af769b7610
Cr-Commit-Position: refs/heads/master@{#358015}

Powered by Google App Engine
This is Rietveld 408576698