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

Unified Diff: chrome/browser/extensions/api/time/time_api.h

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: Second round of fixes from review 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/time/time_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
+
« no previous file with comments | « no previous file | chrome/browser/extensions/api/time/time_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698