OLD | NEW |
---|---|
(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 | |
OLD | NEW |