| Index: content/public/renderer/chrome_object_extensions_utils.h
|
| diff --git a/content/public/renderer/chrome_object_extensions_utils.h b/content/public/renderer/chrome_object_extensions_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..22e799d9df8360061764c108d189e42bb84a5f66
|
| --- /dev/null
|
| +++ b/content/public/renderer/chrome_object_extensions_utils.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_
|
| +#define CONTENT_PUBLIC_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace v8 {
|
| +template <class T>
|
| +class Local;
|
| +class Object;
|
| +class Isolate;
|
| +} // namespace v8
|
| +
|
| +namespace content {
|
| +
|
| +CONTENT_EXPORT v8::Local<v8::Object> GetOrCreateChromeObject(
|
| + v8::Isolate* isolate,
|
| + v8::Local<v8::Object> global);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_
|
|
|