| 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..255262a1db07e822e4da8875f23e0df2fd21faa2
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/api/time/time_api.h
|
| @@ -0,0 +1,24 @@
|
| +// 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
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_
|
| +
|
|
|