// Copyright (c) 2011 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. | |
#include "chrome/plugin/chrome_content_plugin_client.h" | |
#ifdef V8_USE_EXTERNAL_STARTUP_DATA | |
#include "gin/v8_initializer.h" | |
#endif | |
void ChromeContentPluginClient::PreSandboxInitialization() { | |
#ifdef V8_USE_EXTERNAL_STARTUP_DATA | |
gin::V8Initializer::LoadV8Snapshot(); | |
gin::V8Initializer::LoadV8Natives(); | |
#endif | |
} |