IndexedDBFactory now ForceCloses databases.
[chromium-blink-merge.git] / content / renderer / web_ui_extension.h
blob07d7f11f6f56622e3ec146716a09a2050c2e67dd
1 // Copyright 2012 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_RENDERER_WEBUI_EXTENSION_H_
6 #define CONTENT_RENDERER_WEBUI_EXTENSION_H_
8 #include "base/basictypes.h"
10 namespace v8 {
11 class Extension;
14 namespace content {
16 class WebUIExtension {
17 public:
18 // Returns the v8::Extension object handling WebUI bindings. Caller takes
19 // ownership of returned object.
20 static v8::Extension* Get();
22 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(WebUIExtension);
26 } // namespace content
28 #endif // CONTENT_RENDERER_WEBUI_EXTENSION_H_