summaryrefslogtreecommitdiffstats
path: root/base/files/file_path_watcher_browsertest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move file_path.h to base/files.brettw@chromium.org2013-02-241-1/+1
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, base/ edition.rsleevi@chromium.org2013-02-071-2/+2
| | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12236004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181246 0039d316-1c4b-4281-b951-d872f2087c98
* base: Convert the remaining uses of MessageLoop::RunUntilIdle to RunLoop ↵tfarina@chromium.org2013-02-061-1/+2
| | | | | | | | | | | | | | | | variant. The former method is deprecated and actually it is just using RunLoop internally. The later is the cannonical method and should be used instead. BUG=131220 TEST=base_unittests R=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/12226007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180991 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180547 (didn't help)thakis@chromium.org2013-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | > Revert 180332 (speculative, BrowserAccessibilityTest.BasicAttributeTest > started failing on mac asan after this landed. I'll revert the revert if it > doesn't help.) > > > base: Update the calls from QuitClosure() to QuitWhenIdleClosure(). > > > > The former is deprecated and thus should not be used anymore. The later is also > > deprecated, but that will be fixed later on. > > > > BUG=131220 > > R=darin@chromium.org > > > > > > Review URL: https://chromiumcodereview.appspot.com/12188008 > > TBR=tfarina@chromium.org > Review URL: https://codereview.chromium.org/12188024 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/12179027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180557 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180332 (speculative, BrowserAccessibilityTest.BasicAttributeTestthakis@chromium.org2013-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | started failing on mac asan after this landed. I'll revert the revert if it doesn't help.) > base: Update the calls from QuitClosure() to QuitWhenIdleClosure(). > > The former is deprecated and thus should not be used anymore. The later is also > deprecated, but that will be fixed later on. > > BUG=131220 > R=darin@chromium.org > > > Review URL: https://chromiumcodereview.appspot.com/12188008 TBR=tfarina@chromium.org Review URL: https://codereview.chromium.org/12188024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180547 0039d316-1c4b-4281-b951-d872f2087c98
* base: Update the calls from QuitClosure() to QuitWhenIdleClosure().tfarina@chromium.org2013-02-041-4/+4
| | | | | | | | | | | | | The former is deprecated and thus should not be used anymore. The later is also deprecated, but that will be fixed later on. BUG=131220 R=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/12188008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180332 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the base::files:: namespace.darin@chromium.org2013-01-151-2/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11876031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176836 0039d316-1c4b-4281-b951-d872f2087c98
* (1) Added a recursive boolean param to FilePathWatcher::Watch() function to ↵kmadhusu@chromium.org2012-12-051-31/+101
| | | | | | | | | | | | | | | watch for sub directory tree changes. Fixed all the calling sites. (2) Added support to watch sub trees on Windows. (3) Added FilePathWatcherTest.RecursiveWatch browser test. BUG=144491 TEST=none Review URL: https://chromiumcodereview.appspot.com/11415066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171097 0039d316-1c4b-4281-b951-d872f2087c98
* Change FilePathWatcher tests to use the new callback style ↵thestig@chromium.org2012-12-011-113/+115
| | | | | | | | | | FilePathWatcher::Watch(). BUG=130980 Review URL: https://chromiumcodereview.appspot.com/11348263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170665 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir from base to base/filesbrettw@chromium.org2012-11-161-1/+1
| | | | | | | | | | Also add to base namespace. BUG= Review URL: https://codereview.chromium.org/11359217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168281 0039d316-1c4b-4281-b951-d872f2087c98
* base: Update calls froms RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-10-301-3/+3
| | | | | | | | | | | BUG=131220 TEST=base_unittests R=willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/11339020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164802 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stack corruption bug in FilePathWatcherTest.Callback.joaodasilva@chromium.org2012-08-311-2/+17
| | | | | | | | BUG=145653 Review URL: https://chromiumcodereview.appspot.com/10912017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154406 0039d316-1c4b-4281-b951-d872f2087c98
* Added a base::Callback interface to FilePathWatcher.joaodasilva@chromium.org2012-06-041-2/+47
| | | | | | | | | BUG=130980 TEST=browser_tests:FilePathWatcher* are green Review URL: https://chromiumcodereview.appspot.com/10519003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140285 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, base/ editionrsleevi@chromium.org2012-04-251-0/+9
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10065037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133825 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of TimeDelta in base/files.tedvessenes@gmail.com2012-04-161-1/+1
| | | | | | | | | | R=dmaclach@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/10019016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132411 0039d316-1c4b-4281-b951-d872f2087c98
* Flakiness cleanup: disable flaky tests under base/evan@chromium.org2012-02-141-3/+3
| | | | | | | | | | See https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/fcec09fc659f39a6 BUG=46246,85930,10611,86494,95058,61589,25038 Review URL: https://chromiumcodereview.appspot.com/9386014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121782 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FilePathWatcher.jhawkins@chromium.org2011-11-231-37/+15
| | | | | | | | | | | BUG=none TEST=none R=willchan@chromium.org Review URL: http://codereview.chromium.org/8677015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111405 0039d316-1c4b-4281-b951-d872f2087c98
* Mark FilePathWatcherTest.DisappearingDirectory as flaky.joi@chromium.org2011-11-091-0/+4
| | | | | | | | | TBR=dmaclach@chromium.org BUG=85930 Review URL: http://codereview.chromium.org/8508012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109250 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to base::Bind for base/debug/trace_event_unittests and base/files/*.jbates@chromium.org2011-10-051-3/+3
| | | | | | Review URL: http://codereview.chromium.org/8115013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104117 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Make FilePathWatcher somewhat more symlink aware.craig.schlenter@chromium.org2011-09-051-0/+164
| | | | | | | | | | | This is still broken in a variety of ways. BUG=91561 TEST=updated FilePathWatcher tests and manual testing Review URL: http://codereview.chromium.org/7583034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99657 0039d316-1c4b-4281-b951-d872f2087c98
* Move test utilities into test_file_util.*.ahendrickson@chromium.org2011-09-021-0/+1
| | | | | | | | | | | | | Split from CL 7134019. brettw: base. BUG=None TEST=None Review URL: http://codereview.chromium.org/7740081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99416 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-191-1/+1
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* Mark FilePathWatcherTest.DestroyWithPendingNotification as FLAKY on MacOSasargent@chromium.org2011-06-131-1/+7
| | | | | | | | | BUG=85930 TEST=none TBR=phajdan.jr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88851 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-191-1/+1
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 3.jhawkins@chromium.org2011-05-121-2/+2
| | | | | | | | | | | BUG=82098 TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/7016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85088 0039d316-1c4b-4281-b951-d872f2087c98
* Move FilePathWatcher to base/files.craig.schlenter@chromium.org2011-04-141-0/+622
FilePathWatcher is going to be used in future for monitoring changes to /etc/resolv.conf so it needs live somewhere where various consumers can get at it without incurring the wrath of the layering gods. TEST=existing tests BUG=67734 Review URL: http://codereview.chromium.org/6793020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81606 0039d316-1c4b-4281-b951-d872f2087c98