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

Unified Diff: chrome/browser/extensions/test_extension_system.cc

Issue 12314056: Make chrome/browser/extensions use base::Clock instead of MockTimeProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add include Created 7 years, 10 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
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/test_extension_system.cc
diff --git a/chrome/browser/extensions/test_extension_system.cc b/chrome/browser/extensions/test_extension_system.cc
index dec79d4c1eb288e86b0c5aeab3ec3e2f0716b0f8..4efca4fc2086849f68ec9bc727051a21e040fce2 100644
--- a/chrome/browser/extensions/test_extension_system.cc
+++ b/chrome/browser/extensions/test_extension_system.cc
@@ -46,9 +46,8 @@ void TestExtensionSystem::CreateExtensionProcessManager() {
extension_process_manager_.reset(ExtensionProcessManager::Create(profile_));
}
-void TestExtensionSystem::CreateAlarmManager(
- AlarmManager::TimeProvider now) {
- alarm_manager_.reset(new AlarmManager(profile_, now));
+void TestExtensionSystem::CreateAlarmManager(base::Clock* clock) {
+ alarm_manager_.reset(new AlarmManager(profile_, clock));
}
void TestExtensionSystem::CreateSocketManager() {
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698