Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: extensions/shell/browser/api/shell_extensions_api_client.cc

Issue 514493004: Revert of Adding Select Action Bar Unit test case for input (patchset #3 of https://codereview.chro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copying Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 #include "extensions/shell/browser/api/shell_extensions_api_client.h"
6
7 #include "content/public/browser/browser_thread.h"
8 #include "device/hid/hid_service.h"
9
10 namespace extensions {
11
12 ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
13 }
14
15 ShellExtensionsAPIClient::~ShellExtensionsAPIClient() {
16 }
17
18 device::HidService* ShellExtensionsAPIClient::GetHidService() {
19 if (!hid_service_) {
20 hid_service_.reset(device::HidService::Create(
21 content::BrowserThread::GetMessageLoopProxyForThread(
22 content::BrowserThread::UI)));
23 }
24 return hid_service_.get();
25 }
26
27 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698