Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: webkit/extensions/v8/gears_extension.cc

Issue 40132: Refactor v8 extensions to make registration avoid having to use ChromiumBridg... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/extensions/v8/gears_extension.cc
===================================================================
--- webkit/extensions/v8/gears_extension.cc (revision 0)
+++ webkit/extensions/v8/gears_extension.cc (working copy)
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "config.h"
-#include "Gears.h"
+#include "webkit/extensions/v8/gears_extension.h"
-namespace WebCore {
+namespace extensions_v8 {
const char* kGearsExtensionName = "v8/Gears";
@@ -33,13 +32,13 @@
"})();";
class GearsExtensionWrapper : public v8::Extension {
-public:
- GearsExtensionWrapper() :
- v8::Extension(kGearsExtensionName, kGearsExtensionScript) {}
+ public:
+ GearsExtensionWrapper()
+ : v8::Extension(kGearsExtensionName, kGearsExtensionScript) {}
};
v8::Extension* GearsExtension::Get() {
return new GearsExtensionWrapper();
}
-}
+} // namespace extensions_v8
Property changes on: webkit\extensions\v8\gears_extension.cc
___________________________________________________________________
Deleted: svn:executable
- *
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698