Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / content / browser / renderer_host / pepper / browser_ppapi_host_test.cc
blob428f63544b0cdd5fbe51f627582225670ae69de8
1 // Copyright (c) 2012 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 "content/browser/renderer_host/pepper/browser_ppapi_host_test.h"
7 #include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h"
9 namespace content {
11 BrowserPpapiHostTest::BrowserPpapiHostTest() : sink_() {
12 ppapi_host_.reset(
13 new BrowserPpapiHostImpl(&sink_,
14 ppapi::PpapiPermissions::AllPermissions(),
15 std::string(),
16 base::FilePath(),
17 base::FilePath(),
18 false /* in_process */,
19 false /* external_plugin */));
20 ppapi_host_->set_plugin_process_handle(base::GetCurrentProcessHandle());
23 BrowserPpapiHostTest::~BrowserPpapiHostTest() {}
25 BrowserPpapiHost* BrowserPpapiHostTest::GetBrowserPpapiHost() {
26 return ppapi_host_.get();
29 } // namespace content