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

Side by Side Diff: chrome/browser/devtools/devtools_file_system_indexer.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/files/file_proxy.h" 16 #include "base/files/file_proxy.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 19
20 class Profile;
21
22 namespace base { 20 namespace base {
23 class FilePath; 21 class FilePath;
24 class FileEnumerator; 22 class FileEnumerator;
25 class Time; 23 class Time;
26 } 24 }
27 25
28 namespace content {
29 class WebContents;
30 }
31
32 class DevToolsFileSystemIndexer 26 class DevToolsFileSystemIndexer
33 : public base::RefCountedThreadSafe<DevToolsFileSystemIndexer> { 27 : public base::RefCountedThreadSafe<DevToolsFileSystemIndexer> {
34 public: 28 public:
35 29
36 typedef base::Callback<void(int)> TotalWorkCallback; 30 typedef base::Callback<void(int)> TotalWorkCallback;
37 typedef base::Callback<void(int)> WorkedCallback; 31 typedef base::Callback<void(int)> WorkedCallback;
38 typedef base::Callback<void()> DoneCallback; 32 typedef base::Callback<void()> DoneCallback;
39 typedef base::Callback<void(const std::vector<std::string>&)> SearchCallback; 33 typedef base::Callback<void(const std::vector<std::string>&)> SearchCallback;
40 34
41 class FileSystemIndexingJob : public base::RefCounted<FileSystemIndexingJob> { 35 class FileSystemIndexingJob : public base::RefCounted<FileSystemIndexingJob> {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual ~DevToolsFileSystemIndexer(); 99 virtual ~DevToolsFileSystemIndexer();
106 100
107 void SearchInPathOnFileThread(const std::string& file_system_path, 101 void SearchInPathOnFileThread(const std::string& file_system_path,
108 const std::string& query, 102 const std::string& query,
109 const SearchCallback& callback); 103 const SearchCallback& callback);
110 104
111 DISALLOW_COPY_AND_ASSIGN(DevToolsFileSystemIndexer); 105 DISALLOW_COPY_AND_ASSIGN(DevToolsFileSystemIndexer);
112 }; 106 };
113 107
114 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ 108 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_SYSTEM_INDEXER_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_socket.h ('k') | chrome/browser/devtools/devtools_file_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698