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

Issue 10519003: Added a base::Callback interface to FilePathWatcher. (Closed)

Created:
8 years, 6 months ago by Joao da Silva
Modified:
8 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Added a base::Callback interface to FilePathWatcher. BUG=130980 TEST=browser_tests:FilePathWatcher* are green Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140285

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -2 lines) Patch
M PRESUBMIT.py View 2 chunks +18 lines, -0 lines 0 comments Download
M base/files/file_path_watcher.h View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M base/files/file_path_watcher.cc View 2 chunks +31 lines, -0 lines 0 comments Download
M base/files/file_path_watcher_browsertest.cc View 1 4 chunks +47 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Joao da Silva
8 years, 6 months ago (2012-06-04 12:12:40 UTC) #1
Mattias Nissler (ping if slow)
https://chromiumcodereview.appspot.com/10519003/diff/1/base/files/file_path_watcher.h File base/files/file_path_watcher.h (right): https://chromiumcodereview.appspot.com/10519003/diff/1/base/files/file_path_watcher.h#newcode123 base/files/file_path_watcher.h:123: // called at most once, and from a MessageLoop ...
8 years, 6 months ago (2012-06-04 12:26:39 UTC) #2
Joao da Silva
https://chromiumcodereview.appspot.com/10519003/diff/1/base/files/file_path_watcher.h File base/files/file_path_watcher.h (right): https://chromiumcodereview.appspot.com/10519003/diff/1/base/files/file_path_watcher.h#newcode123 base/files/file_path_watcher.h:123: // called at most once, and from a MessageLoop ...
8 years, 6 months ago (2012-06-04 12:45:42 UTC) #3
Mattias Nissler (ping if slow)
LGTM
8 years, 6 months ago (2012-06-04 12:51:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10519003/9001
8 years, 6 months ago (2012-06-04 13:02:25 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-04 13:02:33 UTC) #6
Presubmit check for 10519003-9001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
New code should not use FilePathWatcher::Delegate. Use the callback interface
instead.
    base/files/file_path_watcher.cc:19
    base/files/file_path_watcher.cc:24
    base/files/file_path_watcher.h:117

Presubmit checks took 3.6s to calculate.

Powered by Google App Engine
This is Rietveld 408576698