| 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_FILE_SYSTEM_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <list> | 9 #include <list> |
| 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/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | |
| 17 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 18 #include "base/time.h" | 17 #include "base/time.h" |
| 19 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
| 20 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 21 #include "webkit/fileapi/file_system_types.h" | 20 #include "webkit/fileapi/file_system_types.h" |
| 22 | 21 |
| 23 class Profile; | 22 class Profile; |
| 24 | 23 |
| 25 // Defines an interface for classes that deal with aggregating and deleting | 24 // Defines an interface for classes that deal with aggregating and deleting |
| 26 // browsing data stored in an origin's file systems. | 25 // browsing data stored in an origin's file systems. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // Indicates whether or not we're currently fetching information: set to true | 170 // Indicates whether or not we're currently fetching information: set to true |
| 172 // when StartFetching is called on the UI thread, and reset to false when | 171 // when StartFetching is called on the UI thread, and reset to false when |
| 173 // NotifyOnUIThread triggers the success callback. | 172 // NotifyOnUIThread triggers the success callback. |
| 174 // This property only mutates on the UI thread. | 173 // This property only mutates on the UI thread. |
| 175 bool is_fetching_; | 174 bool is_fetching_; |
| 176 | 175 |
| 177 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); | 176 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataFileSystemHelper); |
| 178 }; | 177 }; |
| 179 | 178 |
| 180 #endif // CHROME_BROWSER_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ | 179 #endif // CHROME_BROWSER_BROWSING_DATA_FILE_SYSTEM_HELPER_H_ |
| OLD | NEW |