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

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: Addressed feedback and fixed Android test failures 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 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
12 // migration from BrowserThread::FILE to GetBackendTaskRunner() is complete.
13 scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner() {
14 return content::BrowserThread::GetTaskRunnerForThread(
15 content::BrowserThread::FILE);
16 }
17
18 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698