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

Unified Diff: chrome/common/extensions/api/time.idl

Issue 18063003: Chromium extension API - written as part of course in Open Software Development at Reykjavik Univer… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing lint errors. Created 7 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/common/extensions/api/time.idl
diff --git a/chrome/common/extensions/api/time.idl b/chrome/common/extensions/api/time.idl
new file mode 100644
index 0000000000000000000000000000000000000000..dd25c4dbe46033e453b6d231682a458dda4882f1
--- /dev/null
+++ b/chrome/common/extensions/api/time.idl
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 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.
+
+// Use the <code>chrome.time</code> API to get the current time
Jói 2013/06/28 10:49:15 Generally we don't use HTML or other markup in com
hpjonsson 2013/06/28 12:13:04 Done.
+namespace time {
+ dictionary TimeResult {
+ DOMString timeString;
+ };
+
+ callback TimeCallback = void (TimeResult result);
+
+ interface Functions {
+ static void getTime(optional DOMString format, TimeCallback callback);
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698