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

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: Fixing review remarks. 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/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_
+
« no previous file with comments | « no previous file | chrome/browser/extensions/api/time/time_api.cc » ('j') | chrome/common/extensions/api/time.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698