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

Unified Diff: chrome/browser/extensions/activity_log/activity_log_task_runner.h

Issue 2980503002: [Extensions][TaskScheduler] Update ActivityLog for scheduling migration (Closed)
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/activity_log/activity_log_task_runner.h
diff --git a/chrome/browser/extensions/activity_log/activity_log_task_runner.h b/chrome/browser/extensions/activity_log/activity_log_task_runner.h
new file mode 100644
index 0000000000000000000000000000000000000000..35e701a2ac21a875378143a17256d7657294842d
--- /dev/null
+++ b/chrome/browser/extensions/activity_log/activity_log_task_runner.h
@@ -0,0 +1,22 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_
+#define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_
+
+#include "base/memory/ref_counted.h"
+
+namespace base {
+class TaskRunner;
+}
+
+namespace extensions {
+
+const scoped_refptr<base::TaskRunner> GetActivityLogTaskRunner();
+
+void SetActivityLogTaskRunnerForTesting(base::TaskRunner* task_runner);
Devlin 2017/07/10 18:48:39 This appears to be needed for activity log unittes
gab 2017/07/12 00:30:22 This is a ChromeRenderViewHostTestHarness which ha
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698