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

Side by Side 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 lint errors. Created 7 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
Jói 2013/06/28 10:49:15 2013
hpjonsson 2013/06/28 12:13:04 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_
5 #define CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_
6
7 #include "chrome/common/extensions/api/time.h"
8 #include "chrome/browser/extensions/extension_function.h"
9
Jói 2013/06/28 10:49:15 One blank line is enough.
hpjonsson 2013/06/28 12:13:04 Done.
10
11 namespace extensions {
Jói 2013/06/28 10:49:15 Usually we put a blank line after this.
hpjonsson 2013/06/28 12:13:04 Done.
12 class TimeGetTimeFunction : public AsyncExtensionFunction {
13 private:
Jói 2013/06/28 10:49:15 indent -1
14 virtual ~TimeGetTimeFunction();
Jói 2013/06/28 10:49:15 Not sure, but the destructor probably needs to be
einartryggvi 2013/06/28 10:57:49 We got an error saying a virtual destructor has to
15 DECLARE_EXTENSION_FUNCTION("time.getTime", TIME_GETTIME);
16 virtual bool RunImpl() OVERRIDE;
17 };
Jói 2013/06/28 10:49:15 indent -2
hpjonsson 2013/06/28 12:13:04 Done.
18 } // namespace extensions
19
20 #endif // CHROME_BROWSER_EXTENSIONS_API_TIME_TIME_API_H_
21
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/time/time_api.cc » ('j') | chrome/browser/extensions/api/time/time_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698