| Index: extensions/renderer/safe_builtins.h
|
| diff --git a/chrome/renderer/extensions/safe_builtins.h b/extensions/renderer/safe_builtins.h
|
| similarity index 81%
|
| rename from chrome/renderer/extensions/safe_builtins.h
|
| rename to extensions/renderer/safe_builtins.h
|
| index f34a949fb8f1f8936f4cccb7b7b260eaa0f254c7..cc3580c057125af820012eb06b0eb42e654ddcd6 100644
|
| --- a/chrome/renderer/extensions/safe_builtins.h
|
| +++ b/extensions/renderer/safe_builtins.h
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_RENDERER_EXTENSIONS_SAFE_BUILTINS_H_
|
| -#define CHROME_RENDERER_EXTENSIONS_SAFE_BUILTINS_H_
|
| +#ifndef EXTENSIONS_RENDERER_SAFE_BUILTINS_H_
|
| +#define EXTENSIONS_RENDERER_SAFE_BUILTINS_H_
|
|
|
| #include "v8/include/v8.h"
|
|
|
| namespace extensions {
|
| -class ChromeV8Context;
|
| +class ScriptContext;
|
|
|
| // A collection of safe builtin objects, in that they won't be tained by
|
| // extensions overriding methods on them.
|
| @@ -17,7 +17,7 @@ class SafeBuiltins {
|
| // Creates the v8::Extension which manages SafeBuiltins instances.
|
| static v8::Extension* CreateV8Extension();
|
|
|
| - explicit SafeBuiltins(ChromeV8Context* context);
|
| + explicit SafeBuiltins(ScriptContext* context);
|
|
|
| virtual ~SafeBuiltins();
|
|
|
| @@ -38,9 +38,9 @@ class SafeBuiltins {
|
| v8::Local<v8::Object> GetString() const;
|
|
|
| private:
|
| - ChromeV8Context* context_;
|
| + ScriptContext* context_;
|
| };
|
|
|
| -} // namespace extensions
|
| +} // namespace extensions
|
|
|
| -#endif // CHROME_RENDERER_EXTENSIONS_SAFE_BUILTINS_H_
|
| +#endif // EXTENSIONS_RENDERER_SAFE_BUILTINS_H_
|
|
|