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

Side by Side Diff: base/files/file_path_watcher_unittest.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « base/files/file_path_watcher.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/files/file_path_watcher.h" 5 #include "base/files/file_path_watcher.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_POSIX)
8 #include <windows.h>
9 #include <aclapi.h>
10 #elif defined(OS_POSIX)
11 #include <sys/stat.h> 8 #include <sys/stat.h>
12 #endif 9 #endif
13 10
14 #include <set> 11 #include <set>
15 12
16 #include "base/basictypes.h" 13 #include "base/basictypes.h"
17 #include "base/bind.h" 14 #include "base/bind.h"
18 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
19 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
20 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false)); 896 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false));
900 ASSERT_TRUE(WaitForEvents()); 897 ASSERT_TRUE(WaitForEvents());
901 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true)); 898 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true));
902 DeleteDelegateOnFileThread(delegate.release()); 899 DeleteDelegateOnFileThread(delegate.release());
903 } 900 }
904 901
905 #endif // OS_MACOSX 902 #endif // OS_MACOSX
906 } // namespace 903 } // namespace
907 904
908 } // namespace base 905 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_path_watcher.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698