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

Unified Diff: base/files/file_path_watcher_browsertest.cc

Issue 65813002: mac: Prepare most test code for -Wunused-functions too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/drive/fake_drive_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher_browsertest.cc
diff --git a/base/files/file_path_watcher_browsertest.cc b/base/files/file_path_watcher_browsertest.cc
index 69ff80608ae5e2015adbce307a785e64fbf309e7..5ded1e819398b489c8d31669c58d40adb38008b2 100644
--- a/base/files/file_path_watcher_browsertest.cc
+++ b/base/files/file_path_watcher_browsertest.cc
@@ -138,19 +138,6 @@ void SetupWatchCallback(const FilePath& target,
completion->Signal();
}
-void QuitLoopWatchCallback(MessageLoop* loop,
- const FilePath& expected_path,
- bool expected_error,
- bool* flag,
- const FilePath& path,
- bool error) {
- ASSERT_TRUE(flag);
- *flag = true;
- EXPECT_EQ(expected_path, path);
- EXPECT_EQ(expected_error, error);
- loop->PostTask(FROM_HERE, loop->QuitWhenIdleClosure());
-}
-
class FilePathWatcherTest : public testing::Test {
public:
FilePathWatcherTest()
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/drive/fake_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698