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

Side by Side Diff: chrome/browser/icon_loader_android.cc

Issue 2953633002: Move the IconLoader to use the task scheduler. (Closed)
Patch Set: sky 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/icon_loader.cc ('k') | chrome/browser/icon_loader_auralinux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "chrome/browser/icon_loader.h" 6 #include "chrome/browser/icon_loader.h"
7 7
8 // static 8 // static
9 IconLoader::IconGroup IconLoader::GroupForFilepath( 9 IconLoader::IconGroup IconLoader::GroupForFilepath(
10 const base::FilePath& file_path) { 10 const base::FilePath& file_path) {
11 NOTIMPLEMENTED(); 11 NOTIMPLEMENTED();
12 return IconLoader::IconGroup(); 12 return IconLoader::IconGroup();
13 } 13 }
14 14
15 // static 15 // static
16 content::BrowserThread::ID IconLoader::ReadIconThreadID() { 16 scoped_refptr<base::TaskRunner> IconLoader::GetReadIconTaskRunner() {
17 NOTIMPLEMENTED(); 17 NOTIMPLEMENTED();
18 return content::BrowserThread::FILE; 18 return nullptr;
19 } 19 }
20 20
21 void IconLoader::ReadIcon() { 21 void IconLoader::ReadIcon() {
22 NOTIMPLEMENTED(); 22 NOTIMPLEMENTED();
23 delete this; 23 delete this;
24 } 24 }
OLDNEW
« no previous file with comments | « chrome/browser/icon_loader.cc ('k') | chrome/browser/icon_loader_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698