Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: chrome/browser/browsing_data_local_storage_helper.h

Issue 10092013: Display third party cookies and site data counts in the WebsiteSettings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d6652b2b9c2c288e393ed72fed188babd9b4d765 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,
@@ -124,6 +123,11 @@ 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>& pending_local_storage_info() const {
bauerb at google 2012/04/27 16:12:50 Including this one, we now have five methods in th
markusheintz_ 2012/05/10 16:32:36 The style guide recommend to user Unix hacker styl
+ return pending_local_storage_info_;
+ }
+
// BrowsingDataLocalStorageHelper implementation.
virtual void StartFetching(
const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback)

Powered by Google App Engine
This is Rietveld 408576698