summaryrefslogtreecommitdiffstats
path: root/content/renderer/chrome_object_extensions_utils.h
blob: b21c6575d7a377bf6d836c216f7df15b4860bffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_
#define CONTENT_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_

#include "v8/include/v8.h"

namespace content {

v8::Local<v8::Object> GetOrCreateChromeObject(
    v8::Isolate* isolate, v8::Local<v8::Object> global);

}  // namespace content

#endif  // CONTENT_RENDERER_CHROME_OBJECT_EXTENSIONS_UTILS_H_