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

Unified Diff: chrome/browser/chromeos/login/hid_detection_browsertest.cc

Issue 252503002: Base version of HID detection OOBE screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/hid_detection_browsertest.cc
diff --git a/chrome/browser/chromeos/login/hid_detection_browsertest.cc b/chrome/browser/chromeos/login/hid_detection_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..35caf94fa4de94d4bebb40424b903aa006c3fca9
--- /dev/null
+++ b/chrome/browser/chromeos/login/hid_detection_browsertest.cc
@@ -0,0 +1,34 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
ygorshenin1 2014/04/24 11:30:24 Add some tests or remove this file from the curren
merkulova 2014/04/24 12:49:46 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/chromeos/device/input_service_proxy.h"
+#include "chrome/browser/chromeos/login/login_manager_test.h"
+#include "content/public/test/browser_test_utils.h"
+
+using device::InputServiceLinux;
+
+typedef InputServiceLinux::InputDeviceInfo InputDeviceInfo;
+
+namespace chromeos {
+
+namespace {
+
+const char kKeyboardId[] = "keyboard";
+const char kMouseId[] = "mouse";
+
+} // namespace
+
+class HIDDetectionTest : public LoginManagerTest {
+ public:
+ HIDDetectionTest() : LoginManagerTest(false) {
+ }
+ virtual ~HIDDetectionTest() {}
+
+ bool JSExecuted(const std::string& script) {
+ return content::ExecuteScript(web_contents(), script);
+ }
+
+};
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698