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

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

Issue 17518004: Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IOS build fix Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_indexed_db_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_indexed_db_helper.h b/chrome/browser/browsing_data/browsing_data_indexed_db_helper.h
index ee4e76f4ef971577e27c326f5d4f92275e53ffdc..f3f03cdcce6592f1e3d66503f10b083a2cc9063b 100644
--- a/chrome/browser/browsing_data/browsing_data_indexed_db_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_indexed_db_helper.h
@@ -39,7 +39,7 @@ class BrowsingDataIndexedDBHelper
virtual void StartFetching(
const base::Callback<void(const std::list<content::IndexedDBInfo>&)>&
callback) = 0;
- // Requests a single indexed database to be deleted in the WEBKIT thread.
+ // Requests a single indexed database to be deleted in the IndexedDB thread.
virtual void DeleteIndexedDB(const GURL& origin) = 0;
protected:
@@ -100,15 +100,8 @@ class CannedBrowsingDataIndexedDBHelper
virtual ~CannedBrowsingDataIndexedDBHelper();
// Convert the pending indexed db info to indexed db info objects.
- void ConvertPendingInfoInWebKitThread();
+ void ConvertPendingInfo();
- void NotifyInUIThread();
-
- // Lock to protect access to pending_indexed_db_info_;
- mutable base::Lock lock_;
-
- // Access to |pending_indexed_db_info_| is protected by |lock_| since it can
- // be accessed on the UI and on the WEBKIT thread.
std::set<PendingIndexedDBInfo> pending_indexed_db_info_;
// Access to |indexed_db_info_| is triggered indirectly via the UI thread and
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698