| 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..ea5dcae83352ee6b251e26105ff366031911f603
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/time.idl
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2013 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 |chrome.time| API to get the current time
|
| +namespace time {
|
| +
|
| + dictionary TimeResult {
|
| + DOMString timeString;
|
| + };
|
| +
|
| + callback TimeCallback = void (TimeResult result);
|
| +
|
| + interface Functions {
|
| + static void getTime(optional DOMString format, TimeCallback callback);
|
| + };
|
| +};
|
|
|