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

Unified Diff: webkit/extensions/v8/playback_extension.h

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/playback_extension.h
===================================================================
--- webkit/extensions/v8/playback_extension.h (revision 0)
+++ webkit/extensions/v8/playback_extension.h (working copy)
@@ -2,16 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// The IntervalExtension is a v8 extension to implement a simple interval
-// class for measuring microsecond intervals.
+#ifndef WEBKIT_EXTENSIONS_V8_PLAYBACK_EXTENSION_H_
+#define WEBKIT_EXTENSIONS_V8_PLAYBACK_EXTENSION_H_
-#ifndef PLAYBACK_EXTENSION_H__
-#define PLAYBACK_EXTENSION_H__
+#include "v8/include/v8.h"
-#include "v8.h"
+namespace extensions_v8 {
-namespace WebCore {
-
// Inject code which overrides a few common JS functions for implementing
// randomness. In order to implement effective record & playback of
// websites, it is important that the URLs not change. Many popular web
@@ -28,7 +25,7 @@
static v8::Extension* Get();
};
-}
+} // namespace extensions_v8
-#endif // PLAYBACK_EXTENSION_H__
+#endif // WEBKIT_EXTENSIONS_V8_PLAYBACK_EXTENSION_H_
Property changes on: webkit\extensions\v8\playback_extension.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698