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

Unified Diff: chrome/browser/autocomplete/in_memory_url_index.h

Issue 1101253002: Stop calling WritePrivateDataToCacheFileTask() on the UI thread during shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix initialization order Created 5 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/in_memory_url_index.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/in_memory_url_index.h
diff --git a/chrome/browser/autocomplete/in_memory_url_index.h b/chrome/browser/autocomplete/in_memory_url_index.h
index d5818d8c918432774574be1ca0db420a269ed4af..2b3199cf1f332db2cb2b5fd60b2818959c0ddf6a 100644
--- a/chrome/browser/autocomplete/in_memory_url_index.h
+++ b/chrome/browser/autocomplete/in_memory_url_index.h
@@ -27,6 +27,7 @@
class HistoryQuickProviderTest;
namespace base {
+class SequencedTaskRunner;
class Time;
}
@@ -287,6 +288,10 @@ class InMemoryURLIndex : public KeyedService,
RestoreCacheObserver* restore_cache_observer_;
SaveCacheObserver* save_cache_observer_;
+ // Task runner from the worker pool, used for operations which require disk
+ // access.
+ scoped_refptr<base::SequencedTaskRunner> task_runner_;
+
base::CancelableTaskTracker private_data_tracker_;
base::CancelableTaskTracker cache_reader_tracker_;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/in_memory_url_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698