Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
|
sreeram
2012/11/14 17:18:01
No "(c)" here and in other newly added files.
Shishir
2012/11/14 19:32:34
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_RENDERER_EXTENSIONS_WEBUI_EXTENSION_H_ | |
| 6 #define CONTENT_RENDERER_EXTENSIONS_WEBUI_EXTENSION_H_ | |
|
sreeram
2012/11/14 17:18:01
CONTENT_RENDERER_WEB_UI_EXTENSION_H_ (also on line
Shishir
2012/11/14 19:32:34
Done.
| |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 namespace v8 { | |
| 11 class Extension; | |
| 12 } | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 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(); | |
| 21 | |
| 22 private: | |
| 23 | |
|
sreeram
2012/11/14 17:18:01
No blank line here.
Shishir
2012/11/14 19:32:34
Done.
| |
| 24 DISALLOW_COPY_AND_ASSIGN(WebUIExtension); | |
|
sreeram
2012/11/14 17:18:01
Use DISALLOW_IMPLICIT_CONSTRUCTORS instead.
Shishir
2012/11/14 19:32:34
Done.
| |
| 25 }; | |
| 26 | |
| 27 } // namespace content | |
| 28 | |
| 29 #endif // CONTENT_RENDERER_EXTENSIONS_WEBUI_EXTENSION_H_ | |
| OLD | NEW |