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

Unified Diff: content/browser/gamepad/gamepad_service_test_helpers.cc

Issue 2466073002: Movw GamepadService out of content/browser/ and into device/ (Closed)
Patch Set: Fixed everything but one unittest Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/gamepad/gamepad_service_test_helpers.cc
diff --git a/content/browser/gamepad/gamepad_service_test_helpers.cc b/content/browser/gamepad/gamepad_service_test_helpers.cc
deleted file mode 100644
index 195dd8f9d23619f2e1ffd8f114fb9f31f5c25703..0000000000000000000000000000000000000000
--- a/content/browser/gamepad/gamepad_service_test_helpers.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) 2012 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 "content/browser/gamepad/gamepad_service_test_helpers.h"
-
-#include "content/browser/gamepad/gamepad_service.h"
-
-namespace content {
-
-GamepadServiceTestConstructor::GamepadServiceTestConstructor(
- const blink::WebGamepads& test_data) {
- data_fetcher_ = new device::MockGamepadDataFetcher(test_data);
- gamepad_service_ = new GamepadService(
- std::unique_ptr<device::GamepadDataFetcher>(data_fetcher_));
-}
-
-GamepadServiceTestConstructor::~GamepadServiceTestConstructor() {
- delete gamepad_service_;
-}
-
-} // namespace content
« no previous file with comments | « content/browser/gamepad/gamepad_service_test_helpers.h ('k') | content/browser/gamepad/gamepad_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698