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 <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "base/time.h" | |
17 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
18 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
19 #include "webkit/fileapi/file_system_types.h" | 18 #include "webkit/fileapi/file_system_types.h" |
20 | 19 |
21 namespace fileapi { | 20 namespace fileapi { |
22 class FileSystemContext; | 21 class FileSystemContext; |
23 } | 22 } |
24 | 23 |
25 class Profile; | 24 class Profile; |
26 | 25 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Indicates whether or not we're currently fetching information: set to true | 173 // Indicates whether or not we're currently fetching information: set to true |
175 // when StartFetching is called on the UI thread, and reset to false when | 174 // when StartFetching is called on the UI thread, and reset to false when |
176 // NotifyOnUIThread triggers the success callback. | 175 // NotifyOnUIThread triggers the success callback. |
177 // This property only mutates on the UI thread. | 176 // This property only mutates on the UI thread. |
178 bool is_fetching_; | 177 bool is_fetching_; |
179 | 178 |
180 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); | 179 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); |
181 }; | 180 }; |
182 | 181 |
183 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 182 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
OLD | NEW |