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

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

Issue 10545104: Refactor chrome.alarms interface to support absolute alarm deadlines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Matt's comments, and re-merge create() 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/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 37607bfe5e01f14efdaa14162ba5a37a5048c980..76a5bd8157f8a1bfc168cec215accb3acf6ae531 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -28,7 +28,7 @@ class PrefService;
class URLPatternSet;
namespace extensions {
-struct AlarmPref;
+struct Alarm;
struct ExtensionOmniboxSuggestion;
}
@@ -278,10 +278,10 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
// Controls a list of alarms for this extension, including the next time they
// should run.
- std::vector<extensions::AlarmPref> GetRegisteredAlarms(
+ std::vector<extensions::Alarm> GetRegisteredAlarms(
const std::string& extension_id);
void SetRegisteredAlarms(const std::string& extension_id,
- const std::vector<extensions::AlarmPref>& alarms);
+ const std::vector<extensions::Alarm>& alarms);
// Controls the omnibox default suggestion as set by the extension.
extensions::ExtensionOmniboxSuggestion GetOmniboxDefaultSuggestion(

Powered by Google App Engine
This is Rietveld 408576698