| Index: chrome/test/chromedriver/chrome/zip.cc
|
| diff --git a/chrome/test/chromedriver/chrome/zip.cc b/chrome/test/chromedriver/chrome/zip.cc
|
| index cbebc2046ebc7c73690e63602bdd5e96a52a4b47..d717bf52438dc3fb3a98a36bf74a160fe526c9a5 100644
|
| --- a/chrome/test/chromedriver/chrome/zip.cc
|
| +++ b/chrome/test/chromedriver/chrome/zip.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/file_util.h"
|
| +#include "base/files/file_enumerator.h"
|
| #include "base/logging.h"
|
| #include "base/string16.h"
|
| #include "base/string_util.h"
|
| @@ -137,9 +138,8 @@ bool ZipWithFilterCallback(const base::FilePath& src_dir,
|
| }
|
|
|
| bool success = true;
|
| - file_util::FileEnumerator file_enumerator(src_dir, true /* recursive */,
|
| - file_util::FileEnumerator::FILES |
|
| - file_util::FileEnumerator::DIRECTORIES);
|
| + base::FileEnumerator file_enumerator(src_dir, true /* recursive */,
|
| + base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES);
|
| for (base::FilePath path = file_enumerator.Next(); !path.value().empty();
|
| path = file_enumerator.Next()) {
|
| if (!filter_cb.Run(path)) {
|
|
|