| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "chrome/browser/chromeos/file_system_provider/abort_callback.h" | 17 #include "chrome/browser/chromeos/file_system_provider/abort_callback.h" |
| 18 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" | 18 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" |
| 19 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 19 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
| 20 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 20 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
| 21 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse
rver.h" | 21 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse
rver.h" |
| 22 #include "storage/browser/fileapi/async_file_util.h" | 22 #include "storage/browser/fileapi/async_file_util.h" |
| 23 #include "storage/browser/fileapi/watcher_manager.h" | 23 #include "storage/browser/fileapi/watcher_manager.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 class Profile; | |
| 27 | |
| 28 namespace net { | 26 namespace net { |
| 29 class IOBuffer; | 27 class IOBuffer; |
| 30 } // namespace net | 28 } // namespace net |
| 31 | 29 |
| 32 namespace base { | 30 namespace base { |
| 33 class FilePath; | 31 class FilePath; |
| 34 } // namespace base | 32 } // namespace base |
| 35 | 33 |
| 36 namespace chromeos { | 34 namespace chromeos { |
| 37 namespace file_system_provider { | 35 namespace file_system_provider { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 std::map<int, int> opened_files_; | 151 std::map<int, int> opened_files_; |
| 154 | 152 |
| 155 base::WeakPtrFactory<ThrottledFileSystem> weak_ptr_factory_; | 153 base::WeakPtrFactory<ThrottledFileSystem> weak_ptr_factory_; |
| 156 DISALLOW_COPY_AND_ASSIGN(ThrottledFileSystem); | 154 DISALLOW_COPY_AND_ASSIGN(ThrottledFileSystem); |
| 157 }; | 155 }; |
| 158 | 156 |
| 159 } // namespace file_system_provider | 157 } // namespace file_system_provider |
| 160 } // namespace chromeos | 158 } // namespace chromeos |
| 161 | 159 |
| 162 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ | 160 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_ |
| OLD | NEW |