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

Unified Diff: chrome/browser/icon_loader.h

Issue 2953633002: Move the IconLoader to use the task scheduler. (Closed)
Patch Set: Created 3 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/icon_loader.cc » ('j') | chrome/browser/icon_loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader.h
diff --git a/chrome/browser/icon_loader.h b/chrome/browser/icon_loader.h
index 837be967356c45ed26169a6b9091a2185073bee2..29a22fcfaa94d19a6a675f74e813c73d3c5ea9ef 100644
--- a/chrome/browser/icon_loader.h
+++ b/chrome/browser/icon_loader.h
@@ -66,8 +66,8 @@ class IconLoader {
// Given a file path, get the group for the given file.
static IconGroup GroupForFilepath(const base::FilePath& file_path);
- // The thread ReadIcon() should be called on.
- static content::BrowserThread::ID ReadIconThreadID();
+ // Whether ReadIcon() must be called on the UI thread.
+ static bool ReadIconRequiresUIThread();
void ReadGroup();
void OnReadGroup();
« no previous file with comments | « no previous file | chrome/browser/icon_loader.cc » ('j') | chrome/browser/icon_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698