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

Side by Side Diff: chrome/browser/extensions/api/storage/backend_task_runner.cc

Issue 2944993002: Remove dependency on BrowserThread::FILE from Sync code (Closed)
Patch Set: Changed iOS specific version of CreateModelWorkerForGroup 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
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/api/storage/backend_task_runner.h"
6
7 #include "content/public/browser/browser_thread.h"
8
9 namespace extensions {
10
11 // TODO(stanisc): crbug.com/731903 : change to LazySequencedTaskRunner once
Devlin 2017/06/21 00:25:20 nit: no space after crbug.com/731903
stanisc 2017/06/21 17:20:54 Done.
12 // migration from BrowserThread::FILE to GetBackendTaskRunner() is complete.
13
Devlin 2017/06/21 00:25:20 nit: remove this blank line
stanisc 2017/06/21 17:20:54 Done.
14 scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner() {
15 return content::BrowserThread::GetTaskRunnerForThread(
16 content::BrowserThread::FILE);
17 }
18
19 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698