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

Unified Diff: chrome/browser/browsing_data/local_data_container.h

Issue 10790150: Show Flash LSOs for Pepper Flash in cookie dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 5 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_data_container.h
diff --git a/chrome/browser/browsing_data/local_data_container.h b/chrome/browser/browsing_data/local_data_container.h
index 67edf7c29d3d16e6a45f499ee49e7f7a66b74671..666c7b84ad95e6b1c0a4060c93740481fa3cda64 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_getter);
markusheintz_ 2012/07/30 14:02:15 nit: s/getter/helper/
Bernhard Bauer 2012/07/31 00:20:03 Done.
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.

Powered by Google App Engine
This is Rietveld 408576698