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

Side by Side Diff: chrome/browser/extensions/activity_log/activity_log_task_runner.h

Issue 2980503002: [Extensions][TaskScheduler] Update ActivityLog for scheduling migration (Closed)
Patch Set: Revert to set for testing Created 3 years, 5 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 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_
7
8 #include "base/memory/ref_counted.h"
9
10 namespace base {
11 class TaskRunner;
12 }
13
14 namespace extensions {
15
16 const scoped_refptr<base::TaskRunner> GetActivityLogTaskRunner();
gab 2017/07/20 16:26:43 Use base::SequencedTaskRunner in interface and imp
Devlin 2017/07/27 13:41:19 Done.
17
18 // TODO(devlin): It would be great to remove this, but we can't create a valid
19 // SQL database in unittests using the normal ActivityLogTaskRunner. Might be
20 // related to https://crbug.com/739945.
21 void SetActivityLogTaskRunnerForTesting(base::TaskRunner* task_runner);
22
23 } // namespace extensions
24
25 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698