Add ICU message format support
[chromium-blink-merge.git] / content / shell / renderer / layout_test / gc_controller.h
blob4485c1dd95dc414625e6a566daa5c2a60b0f8995
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_GC_CONTROLLER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_GC_CONTROLLER_H_
8 #include "base/basictypes.h"
9 #include "gin/wrappable.h"
11 namespace blink {
12 class WebFrame;
15 namespace gin {
16 class Arguments;
19 namespace content {
21 class GCController : public gin::Wrappable<GCController> {
22 public:
23 static gin::WrapperInfo kWrapperInfo;
24 static void Install(blink::WebFrame* frame);
26 private:
27 GCController();
28 ~GCController() override;
30 // gin::Wrappable.
31 gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
32 v8::Isolate* isolate) override;
34 void Collect(const gin::Arguments& args);
35 void CollectAll(const gin::Arguments& args);
36 void MinorCollect(const gin::Arguments& args);
38 DISALLOW_COPY_AND_ASSIGN(GCController);
41 } // namespace content
43 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_GC_CONTROLLER_H_