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

Unified Diff: base/directory_watcher_unittest.cc

Issue 155022: Fix few trivial Coverity issues, mainly PASS_BY_VALUE. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/file_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/directory_watcher_unittest.cc
diff --git a/base/directory_watcher_unittest.cc b/base/directory_watcher_unittest.cc
index 1b15de80da9beeb9874bd5017b822851fc0e5eca..625c5425eec53eca445c58355aa50c204df03b25 100644
--- a/base/directory_watcher_unittest.cc
+++ b/base/directory_watcher_unittest.cc
@@ -27,7 +27,10 @@ const int kWaitForEventTime = 1000;
class DirectoryWatcherTest : public testing::Test {
public:
// Implementation of DirectoryWatcher on Mac requires UI loop.
- DirectoryWatcherTest() : loop_(MessageLoop::TYPE_UI) {
+ DirectoryWatcherTest()
+ : loop_(MessageLoop::TYPE_UI),
+ notified_delegates_(0),
+ expected_notified_delegates_(0) {
}
void OnTestDelegateFirstNotification(const FilePath& path) {
« no previous file with comments | « no previous file | base/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698