| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ | 6 #define CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "gin/wrappable.h" | 9 #include "gin/wrappable.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 GCController(); | 27 GCController(); |
| 28 virtual ~GCController(); | 28 virtual ~GCController(); |
| 29 | 29 |
| 30 // gin::Wrappable. | 30 // gin::Wrappable. |
| 31 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( | 31 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( |
| 32 v8::Isolate* isolate) OVERRIDE; | 32 v8::Isolate* isolate) OVERRIDE; |
| 33 | 33 |
| 34 void Collect(const gin::Arguments& args); | 34 void Collect(const gin::Arguments& args); |
| 35 void CollectAll(const gin::Arguments& args); |
| 35 void MinorCollect(const gin::Arguments& args); | 36 void MinorCollect(const gin::Arguments& args); |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(GCController); | 38 DISALLOW_COPY_AND_ASSIGN(GCController); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace content | 41 } // namespace content |
| 41 | 42 |
| 42 #endif // CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ | 43 #endif // CONTENT_SHELL_RENDERER_GC_CONTROLLER_H_ |
| OLD | NEW |