Index: chrome/browser/devtools/devtools_file_system_indexer.h |
diff --git a/chrome/browser/devtools/devtools_file_system_indexer.h b/chrome/browser/devtools/devtools_file_system_indexer.h |
index 2f1322670c3f7ddba1eb25fb5328bc475d1076b6..828e2cd7b4780a00f53dbea5387a3be119dbf166 100644 |
--- a/chrome/browser/devtools/devtools_file_system_indexer.h |
+++ b/chrome/browser/devtools/devtools_file_system_indexer.h |
@@ -10,9 +10,8 @@ |
#include <vector> |
#include "base/callback.h" |
-#include "base/files/file.h" |
+#include "base/files/file_proxy.h" |
#include "base/memory/ref_counted.h" |
-#include "base/platform_file.h" |
class Profile; |
@@ -52,9 +51,7 @@ class DevToolsFileSystemIndexer |
void StopOnFileThread(); |
void CollectFilesToIndex(); |
void IndexFiles(); |
- void StartFileIndexing(base::File::Error error, |
- base::PassPlatformFile pass_file, |
- bool); |
+ void StartFileIndexing(base::File::Error error); |
void ReadFromFile(); |
void OnRead(base::File::Error error, |
const char* data, |
@@ -72,7 +69,7 @@ class DevToolsFileSystemIndexer |
typedef std::map<base::FilePath, base::Time> FilePathTimesMap; |
FilePathTimesMap file_path_times_; |
FilePathTimesMap::const_iterator indexing_it_; |
- base::PlatformFile current_file_; |
+ base::FileProxy current_file_; |
int64 current_file_offset_; |
typedef int32 Trigram; |
std::vector<Trigram> current_trigrams_; |