OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GIN_MODULES_TIMER_H_ | 5 #ifndef GIN_MODULES_TIMER_H_ |
6 #define GIN_MODULES_TIMER_H_ | 6 #define GIN_MODULES_TIMER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
10 #include "gin/gin_export.h" | 11 #include "gin/gin_export.h" |
11 #include "gin/handle.h" | 12 #include "gin/handle.h" |
12 #include "gin/runner.h" | 13 #include "gin/runner.h" |
13 #include "gin/wrappable.h" | 14 #include "gin/wrappable.h" |
14 #include "v8/include/v8.h" | 15 #include "v8/include/v8.h" |
15 | 16 |
16 namespace gin { | 17 namespace gin { |
17 | 18 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 private: | 56 private: |
56 TimerModule(); | 57 TimerModule(); |
57 ~TimerModule() override; | 58 ~TimerModule() override; |
58 | 59 |
59 ObjectTemplateBuilder GetObjectTemplateBuilder(v8::Isolate* isolate) override; | 60 ObjectTemplateBuilder GetObjectTemplateBuilder(v8::Isolate* isolate) override; |
60 }; | 61 }; |
61 | 62 |
62 } // namespace gin | 63 } // namespace gin |
63 | 64 |
64 #endif // GIN_MODULES_TIMER_H_ | 65 #endif // GIN_MODULES_TIMER_H_ |
OLD | NEW |