Index: chrome/browser/browsing_data_local_storage_helper.h |
diff --git a/chrome/browser/browsing_data_local_storage_helper.h b/chrome/browser/browsing_data_local_storage_helper.h |
index 6d32b0df79d5343f67b192d371c0d67daa9dd600..02a414c087842190bc3b65c5feb3d85f9c1f4e2f 100644 |
--- a/chrome/browser/browsing_data_local_storage_helper.h |
+++ b/chrome/browser/browsing_data_local_storage_helper.h |
@@ -35,7 +35,6 @@ class BrowsingDataLocalStorageHelper |
public: |
// Contains detailed information about local storage. |
struct LocalStorageInfo { |
- LocalStorageInfo(); |
LocalStorageInfo( |
const std::string& protocol, |
const std::string& host, |
@@ -86,7 +85,7 @@ class BrowsingDataLocalStorageHelper |
// This only mutates on the UI thread. |
bool is_fetching_; |
- // This only mutates in the WEBKIT thread. |
+ // This only mutates in the FILE thread. |
Bernhard Bauer
2012/05/10 17:18:59
That's not really true.
These BrowsingDataHelper
markusheintz_
2012/05/11 12:18:28
Yeah I forgot to mention the UI thread.
I checked
Bernhard Bauer
2012/05/11 13:05:00
Yeah, that's what I meant. Invariants of the form
markusheintz_
2012/05/14 11:00:54
I tried to make this comment a bit more useful.
|
std::list<LocalStorageInfo> local_storage_info_; |
private: |
@@ -124,6 +123,9 @@ class CannedBrowsingDataLocalStorageHelper |
// Returns the number of local storages currently stored. |
size_t GetLocalStorageCount() const; |
+ // Returns the set of origins that use local storage. |
+ const std::set<GURL>& GetLocalStorageInfo() const; |
+ |
// BrowsingDataLocalStorageHelper implementation. |
virtual void StartFetching( |
const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) |