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

Unified Diff: chrome/browser/mac/keystone_glue_unittest.mm

Issue 2525483006: Use TaskScheduler instead of WorkerPool in keystone_glue.mm. (Closed)
Patch Set: CONITNUE_ON_SHUTDOWN Created 4 years, 1 month 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
« chrome/browser/mac/keystone_glue.mm ('K') | « chrome/browser/mac/keystone_glue.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/mac/keystone_glue_unittest.mm
diff --git a/chrome/browser/mac/keystone_glue_unittest.mm b/chrome/browser/mac/keystone_glue_unittest.mm
index 3128fe9e9db48c744cf643200280a62fb73e6ec1..4f9e8d90b8c2bae4fc907d550522ed9eb267a31e 100644
--- a/chrome/browser/mac/keystone_glue_unittest.mm
+++ b/chrome/browser/mac/keystone_glue_unittest.mm
@@ -5,6 +5,7 @@
#import <Foundation/Foundation.h>
#import <objc/objc-class.h>
+#include "base/test/scoped_task_scheduler.h"
#import "chrome/browser/mac/keystone_glue.h"
#import "chrome/browser/mac/keystone_registration.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -178,6 +179,8 @@ namespace ksr = keystone_registration;
namespace {
class KeystoneGlueTest : public PlatformTest {
+ private:
+ base::test::ScopedTaskScheduler task_scheduler_;
};
// DISABLED because the mocking isn't currently working.
« chrome/browser/mac/keystone_glue.mm ('K') | « chrome/browser/mac/keystone_glue.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698