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

Unified Diff: chrome/browser/browsing_data_local_storage_helper.h

Issue 9700007: ContentAPI change - Post DomStorage tasks via a SequencedTaskRunner instead of directly to WEBKIT_DE (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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_local_storage_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_local_storage_helper.h
===================================================================
--- chrome/browser/browsing_data_local_storage_helper.h (revision 126447)
+++ chrome/browser/browsing_data_local_storage_helper.h (working copy)
@@ -99,10 +99,10 @@
std::list<LocalStorageInfo> local_storage_info_;
private:
- // Enumerates all local storage files in the WEBKIT thread.
- void FetchLocalStorageInfoInWebKitThread();
- // Delete a single local storage file in the WEBKIT thread.
- void DeleteLocalStorageFileInWebKitThread(const FilePath& file_path);
+ // Enumerates all local storage files in a sequenced task.
+ void FetchLocalStorageInfoHelper();
+ // Delete a single local storage file in a sequenced task.
+ void DeleteLocalStorageFileHelper(const FilePath& file_path);
DISALLOW_COPY_AND_ASSIGN(BrowsingDataLocalStorageHelper);
};
@@ -140,12 +140,8 @@
virtual ~CannedBrowsingDataLocalStorageHelper();
// Convert the pending local storage info to local storage info objects.
- void ConvertPendingInfoInWebKitThread();
+ void ConvertPendingInfo();
- // Used to protect access to pending_local_storage_info_.
- mutable base::Lock lock_;
-
- // May mutate on WEBKIT and UI threads.
std::set<GURL> pending_local_storage_info_;
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/browsing_data_local_storage_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698