| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
| 18 #include "storage/common/fileapi/file_system_types.h" |
| 18 #include "url/gurl.h" | 19 #include "url/gurl.h" |
| 19 #include "webkit/common/fileapi/file_system_types.h" | |
| 20 | 20 |
| 21 namespace storage { | 21 namespace storage { |
| 22 class FileSystemContext; | 22 class FileSystemContext; |
| 23 } | 23 } |
| 24 | 24 |
| 25 class Profile; | 25 class Profile; |
| 26 | 26 |
| 27 // Defines an interface for classes that deal with aggregating and deleting | 27 // Defines an interface for classes that deal with aggregating and deleting |
| 28 // browsing data stored in an origin's file systems. | 28 // browsing data stored in an origin's file systems. |
| 29 // BrowsingDataFileSystemHelper instances for a specific profile should be | 29 // BrowsingDataFileSystemHelper instances for a specific profile should be |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 std::list<FileSystemInfo> file_system_info_; | 148 std::list<FileSystemInfo> file_system_info_; |
| 149 | 149 |
| 150 // The callback passed in at the beginning of the StartFetching workflow so | 150 // The callback passed in at the beginning of the StartFetching workflow so |
| 151 // that it can be triggered via NotifyOnUIThread. | 151 // that it can be triggered via NotifyOnUIThread. |
| 152 base::Callback<void(const std::list<FileSystemInfo>&)> completion_callback_; | 152 base::Callback<void(const std::list<FileSystemInfo>&)> completion_callback_; |
| 153 | 153 |
| 154 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); | 154 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 157 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| OLD | NEW |