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

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

Issue 10545104: Refactor chrome.alarms interface to support absolute alarm deadlines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename timeToFire to time Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/test_extension_system.h
diff --git a/chrome/browser/extensions/test_extension_system.h b/chrome/browser/extensions/test_extension_system.h
index 0a29c0c75e795eda889c1fa80536431bbba1f94e..5f6ae0390d301d561bcc83d28438363bd9954f99 100644
--- a/chrome/browser/extensions/test_extension_system.h
+++ b/chrome/browser/extensions/test_extension_system.h
@@ -10,6 +10,9 @@
class CommandLine;
class FilePath;
+namespace base {
+class Time;
+}
// Test ExtensionSystem, for use with TestingProfile.
class TestExtensionSystem : public ExtensionSystem {
@@ -35,7 +38,7 @@ class TestExtensionSystem : public ExtensionSystem {
void CreateExtensionProcessManager();
// Creates an AlarmManager. Will be NULL otherwise.
- void CreateAlarmManager();
+ void CreateAlarmManager(base::Time (*now)());
virtual void Init(bool extensions_enabled) OVERRIDE {}
virtual ExtensionService* extension_service() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698