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

Issue 913773002: Created fakes for HID-detection screen testing. Initial browsertest added. (Closed)

Created:
5 years, 10 months ago by merkulova
Modified:
5 years, 9 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Created fakes for HID-detection screen testing. Initial browsertest added. BUG=456779 TBR=keybuk@chromium.org Committed: https://crrev.com/4209a162a2a4a9b49c9096909fbfadb7a2608b72 Cr-Commit-Position: refs/heads/master@{#318667}

Patch Set 1 #

Total comments: 12

Patch Set 2 : FakeInputServiceLinux used instead of FakeInputServiceProxy. #

Total comments: 8

Patch Set 3 : Formatting. #

Total comments: 6

Patch Set 4 : Thread checking moved back to InputServiceLinux. #

Total comments: 1

Patch Set 5 : TaskRunner used for InputServiceProxy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -20 lines) Patch
M chrome/browser/chromeos/device/input_service_proxy.h View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/device/input_service_proxy.cc View 1 2 3 4 8 chunks +19 lines, -11 lines 0 comments Download
A chrome/browser/chromeos/login/hid_detection_browsertest.cc View 1 2 3 4 1 chunk +124 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M device/hid/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A device/hid/fake_input_service_linux.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A device/hid/fake_input_service_linux.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M device/hid/hid.gyp View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M device/hid/input_service_linux.h View 1 2 3 3 chunks +7 lines, -6 lines 0 comments Download
M device/hid/input_service_linux.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
merkulova
Nikita, please, have a look.
5 years, 10 months ago (2015-02-10 17:10:38 UTC) #2
Nikita (slow)
please update bug #
5 years, 10 months ago (2015-02-11 14:24:17 UTC) #3
Nikita (slow)
https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/fake_input_service_proxy.h File chrome/browser/chromeos/device/fake_input_service_proxy.h (right): https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/fake_input_service_proxy.h#newcode16 chrome/browser/chromeos/device/fake_input_service_proxy.h:16: nit: drop empty line https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/input_service_proxy_factory.cc File chrome/browser/chromeos/device/input_service_proxy_factory.cc (right): https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/input_service_proxy_factory.cc#newcode14 ...
5 years, 10 months ago (2015-02-11 14:53:08 UTC) #4
merkulova
+keybuk@ as */hid/* owner https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/fake_input_service_proxy.h File chrome/browser/chromeos/device/fake_input_service_proxy.h (right): https://codereview.chromium.org/913773002/diff/1/chrome/browser/chromeos/device/fake_input_service_proxy.h#newcode16 chrome/browser/chromeos/device/fake_input_service_proxy.h:16: On 2015/02/11 14:53:07, Nikita wrote: ...
5 years, 10 months ago (2015-02-13 10:00:05 UTC) #6
Nikita (slow)
lgtm https://codereview.chromium.org/913773002/diff/20001/device/hid/fake_input_service_linux.cc File device/hid/fake_input_service_linux.cc (right): https://codereview.chromium.org/913773002/diff/20001/device/hid/fake_input_service_linux.cc#newcode1 device/hid/fake_input_service_linux.cc:1: // Copyright 2014 The Chromium Authors. All rights ...
5 years, 10 months ago (2015-02-13 12:31:45 UTC) #7
merkulova
https://codereview.chromium.org/913773002/diff/20001/device/hid/fake_input_service_linux.cc File device/hid/fake_input_service_linux.cc (right): https://codereview.chromium.org/913773002/diff/20001/device/hid/fake_input_service_linux.cc#newcode1 device/hid/fake_input_service_linux.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 10 months ago (2015-02-13 12:58:06 UTC) #9
merkulova
friendly ping
5 years, 10 months ago (2015-02-18 14:15:59 UTC) #10
merkulova
+rockot@ as owner of src/device/
5 years, 10 months ago (2015-02-20 09:15:32 UTC) #12
Ken Rockot(use gerrit already)
It would be unfortunate to introduce all these virtual methods into InputServiceLinux just to get ...
5 years, 10 months ago (2015-02-20 17:15:03 UTC) #13
merkulova
Thanks for the advice. Moved thread checks back. Removed virtual methods. https://codereview.chromium.org/913773002/diff/40001/chrome/browser/chromeos/login/hid_detection_browsertest.cc File chrome/browser/chromeos/login/hid_detection_browsertest.cc (right): ...
5 years, 10 months ago (2015-02-24 09:10:16 UTC) #14
Ken Rockot(use gerrit already)
lgtm
5 years, 9 months ago (2015-02-24 13:42:50 UTC) #15
merkulova
Moving keybuk@ to TBR as rockot@ made the review.
5 years, 9 months ago (2015-02-24 13:46:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/913773002/60001
5 years, 9 months ago (2015-02-24 13:48:02 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/28691)
5 years, 9 months ago (2015-02-24 17:23:40 UTC) #22
Ken Rockot(use gerrit already)
https://codereview.chromium.org/913773002/diff/60001/chrome/browser/chromeos/login/hid_detection_browsertest.cc File chrome/browser/chromeos/login/hid_detection_browsertest.cc (right): https://codereview.chromium.org/913773002/diff/60001/chrome/browser/chromeos/login/hid_detection_browsertest.cc#newcode83 chrome/browser/chromeos/login/hid_detection_browsertest.cc:83: device::FakeInputServiceLinux input_service_linux_; Actually I think you might want to ...
5 years, 9 months ago (2015-02-24 17:26:49 UTC) #23
merkulova
I think we'll have to return to the scheme with thread checks only in InputServiceLinuxImpl ...
5 years, 9 months ago (2015-02-25 10:02:21 UTC) #24
Ken Rockot(use gerrit already)
On 2015/02/25 10:02:21, merkulova wrote: > I think we'll have to return to the scheme ...
5 years, 9 months ago (2015-02-25 18:57:50 UTC) #25
merkulova
Updated the InputServiceProxy.
5 years, 9 months ago (2015-02-27 08:52:14 UTC) #26
Ken Rockot(use gerrit already)
Thank you. I think this should work. LGTM
5 years, 9 months ago (2015-02-27 16:03:40 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/913773002/80001
5 years, 9 months ago (2015-03-02 07:55:44 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-02 08:46:05 UTC) #31
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 08:46:44 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4209a162a2a4a9b49c9096909fbfadb7a2608b72
Cr-Commit-Position: refs/heads/master@{#318667}

Powered by Google App Engine
This is Rietveld 408576698