Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / plugin / chrome_content_plugin_client.cc
blob80e23a911853904f8085f40e1c57fec3b8f40d29
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/plugin/chrome_content_plugin_client.h"
7 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
8 #include "gin/v8_initializer.h"
9 #endif
11 namespace chrome {
13 void ChromeContentPluginClient::PreSandboxInitialization() {
14 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
15 gin::V8Initializer::LoadV8Snapshot();
16 gin::V8Initializer::LoadV8Natives();
17 #endif
20 } // namespace chrome