Chromium Code Reviews| Index: chrome/browser/extensions/api/time/time_api.h |
| diff --git a/chrome/browser/extensions/api/time/time_api.h b/chrome/browser/extensions/api/time/time_api.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..10b4b7410d407ebbc6680ed388bfcbdf668f19a9 |
| --- /dev/null |
| +++ b/chrome/browser/extensions/api/time/time_api.h |
| @@ -0,0 +1,23 @@ |
| +// 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. |
| + |
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_ |
| + |
| +#include "chrome/common/extensions/api/time.h" |
| +#include "chrome/browser/extensions/extension_function.h" |
| + |
| +namespace extensions { |
| + |
| +class TimeGetTimeFunction : public AsyncExtensionFunction { |
| + public: |
| + virtual ~TimeGetTimeFunction(); |
| + private: |
| + DECLARE_EXTENSION_FUNCTION("time.getTime", TIME_GETTIME); |
| + virtual bool RunImpl() OVERRIDE; |
| +}; |
| +} // namespace extensions |
|
Jói
2013/06/28 12:36:55
nit: Usually one blank line before closing the nam
hpjonsson
2013/06/28 13:38:10
Done.
|
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_ |
| + |