diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 17:33:51 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 17:33:51 +0000 |
commit | 3ff0ff79db2034f42d39d599776edf1c782ca8af (patch) | |
tree | 8b0b10c7618cdd2beb82bdda001318f758b23931 /chrome/browser/browsing_data/local_data_container.h | |
parent | 28faf93116f4d227ceec62a8ff89ab4885494771 (diff) | |
download | chromium_src-3ff0ff79db2034f42d39d599776edf1c782ca8af.zip chromium_src-3ff0ff79db2034f42d39d599776edf1c782ca8af.tar.gz chromium_src-3ff0ff79db2034f42d39d599776edf1c782ca8af.tar.bz2 |
Show Flash LSOs for Pepper Flash in cookie dialog.
It won't show anything until the Flash side has been updated.
BUG=132409
Review URL: https://chromiumcodereview.appspot.com/10790150
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data/local_data_container.h')
-rw-r--r-- | chrome/browser/browsing_data/local_data_container.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/chrome/browser/browsing_data/local_data_container.h b/chrome/browser/browsing_data/local_data_container.h index 67edf7c..b0b2fd7 100644 --- a/chrome/browser/browsing_data/local_data_container.h +++ b/chrome/browser/browsing_data/local_data_container.h @@ -5,6 +5,11 @@ #ifndef CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ #define CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ +#include <list> +#include <map> +#include <string> +#include <vector> + #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" #include "base/string16.h" @@ -18,8 +23,9 @@ #include "chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h" #include "net/base/server_bound_cert_store.h" -class LocalDataContainer; +class BrowsingDataFlashLSOHelper; class CookiesTreeModel; +class LocalDataContainer; namespace net { class CanonicalCookie; @@ -42,6 +48,7 @@ typedef std::list<BrowsingDataFileSystemHelper::FileSystemInfo> typedef std::list<BrowsingDataQuotaHelper::QuotaInfo> QuotaInfoList; typedef net::ServerBoundCertStore::ServerBoundCertList ServerBoundCertList; typedef std::map<GURL, std::list<appcache::AppCacheInfo> > AppCacheInfoMap; +typedef std::vector<std::string> FlashLSODomainList; } // namespace @@ -64,7 +71,8 @@ class LocalDataContainer { BrowsingDataIndexedDBHelper* indexed_db_helper, BrowsingDataFileSystemHelper* file_system_helper, BrowsingDataQuotaHelper* quota_helper, - BrowsingDataServerBoundCertHelper* server_bound_cert_helper); + BrowsingDataServerBoundCertHelper* server_bound_cert_helper, + BrowsingDataFlashLSOHelper* flash_data_helper); virtual ~LocalDataContainer(); // This method must be called to start the process of fetching the resources. @@ -85,6 +93,7 @@ class LocalDataContainer { friend class CookieTreeFileSystemNode; friend class CookieTreeQuotaNode; friend class CookieTreeServerBoundCertNode; + friend class CookieTreeFlashLSONode; // Callback methods to be invoked when fetching the data is complete. void OnAppCacheModelInfoLoaded(); @@ -100,6 +109,7 @@ class LocalDataContainer { const FileSystemInfoList& file_system_info); void OnQuotaModelInfoLoaded(const QuotaInfoList& quota_info); void OnServerBoundCertModelInfoLoaded(const ServerBoundCertList& cert_list); + void OnFlashLSOInfoLoaded(const FlashLSODomainList& domains); // The app name and id, to which this container object is for. std::string app_name_; @@ -116,6 +126,7 @@ class LocalDataContainer { scoped_refptr<BrowsingDataFileSystemHelper> file_system_helper_; scoped_refptr<BrowsingDataQuotaHelper> quota_helper_; scoped_refptr<BrowsingDataServerBoundCertHelper> server_bound_cert_helper_; + scoped_refptr<BrowsingDataFlashLSOHelper> flash_lso_helper_; // Storage for all the data that was retrieved through the helper objects. // The collected data is used for (re)creating the CookiesTreeModel. @@ -128,6 +139,7 @@ class LocalDataContainer { FileSystemInfoList file_system_info_list_; QuotaInfoList quota_info_list_; ServerBoundCertList server_bound_cert_list_; + FlashLSODomainList flash_lso_domain_list_; // A delegate, which must outlive this object. The update callbacks use the // delegate to deliver the updated data to the CookieTreeModel. |