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

Issue 701953007: Expose mock geofencing service via testRunner. (Closed)

Created:
6 years, 1 month ago by Marijn Kruisselbrink
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Expose mock geofencing service via testRunner. BUG=383125 Committed: https://crrev.com/340dd9d3de95a7e7c027972cce7168f201ae84e8 Cr-Commit-Position: refs/heads/master@{#307836}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : expose via testRunner and make mock global #

Total comments: 6

Patch Set 5 : format and a few more comments #

Patch Set 6 : mention unifying bug in a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+465 lines, -87 lines) Patch
M content/browser/geofencing/geofencing_dispatcher_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/geofencing/geofencing_dispatcher_host.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.h View 1 2 3 4 5 4 chunks +11 lines, -1 line 0 comments Download
M content/browser/geofencing/geofencing_manager.cc View 1 2 3 4 chunks +35 lines, -7 lines 0 comments Download
M content/browser/geofencing/geofencing_manager_unittest.cc View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_provider.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/geofencing/geofencing_registration_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/geofencing/geofencing_service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
A content/browser/geofencing/mock_geofencing_service.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A content/browser/geofencing/mock_geofencing_service.cc View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
M content/child/geofencing/geofencing_dispatcher.h View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M content/child/geofencing/geofencing_dispatcher.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M content/child/geofencing/web_geofencing_provider_impl.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M content/child/geofencing/web_geofencing_provider_impl.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M content/common/geofencing_messages.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
D content/common/geofencing_status.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
D content/common/geofencing_status.cc View 1 2 1 chunk +0 lines, -32 lines 0 comments Download
A + content/common/geofencing_types.h View 1 2 2 chunks +17 lines, -3 lines 0 comments Download
A + content/common/geofencing_types.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/layouttest_support.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/webkit_test_runner.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/webkit_test_runner.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.cc View 1 2 3 6 chunks +39 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_delegate.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
Marijn Kruisselbrink
Does this seem like a reasonable approach to making the geofencing code testable in layout ...
6 years ago (2014-12-03 15:07:22 UTC) #6
Peter Beverloo
On 2014/12/03 15:07:22, Marijn Kruisselbrink wrote: > Does this seem like a reasonable approach to ...
6 years ago (2014-12-03 15:23:08 UTC) #7
scheib
https://codereview.chromium.org/701953007/diff/120001/content/browser/geofencing/geofencing_manager.h File content/browser/geofencing/geofencing_manager.h (right): https://codereview.chromium.org/701953007/diff/120001/content/browser/geofencing/geofencing_manager.h#newcode188 content/browser/geofencing/geofencing_manager.h:188: std::map<int64, linked_ptr<MockGeofencingService>> mock_services_; Why not have the mock simply ...
6 years ago (2014-12-03 17:54:31 UTC) #8
Marijn Kruisselbrink
On 2014/12/03 17:54:31, scheib wrote: > https://codereview.chromium.org/701953007/diff/120001/content/browser/geofencing/geofencing_manager.h > File content/browser/geofencing/geofencing_manager.h (right): > > https://codereview.chromium.org/701953007/diff/120001/content/browser/geofencing/geofencing_manager.h#newcode188 > ...
6 years ago (2014-12-04 13:44:11 UTC) #9
scheib
On 2014/12/04 13:44:11, Marijn Kruisselbrink wrote: > On 2014/12/03 17:54:31, scheib wrote: > > > ...
6 years ago (2014-12-05 05:56:04 UTC) #10
Marijn Kruisselbrink
On 2014/12/05 05:56:04, scheib wrote: > This discussion seems reasonable in explaining why not global ...
6 years ago (2014-12-08 00:00:58 UTC) #12
scheib
lgtm
6 years ago (2014-12-08 17:27:08 UTC) #13
Marijn Kruisselbrink
+avi for content/ OWNERS let me know if I should add a separate content/shell owner ...
6 years ago (2014-12-08 19:23:14 UTC) #15
Avi (use Gerrit)
I would appreciate if you could find a content shell owner. I wrote the UI ...
6 years ago (2014-12-08 19:33:05 UTC) #16
Marijn Kruisselbrink
On 2014/12/08 19:33:05, Avi wrote: > I would appreciate if you could find a content ...
6 years ago (2014-12-08 19:51:55 UTC) #18
Avi (use Gerrit)
On 2014/12/08 19:51:55, Marijn Kruisselbrink wrote: > On 2014/12/08 19:33:05, Avi wrote: > > I ...
6 years ago (2014-12-08 20:21:54 UTC) #19
pfeldman
lgtm https://codereview.chromium.org/701953007/diff/160001/content/shell/renderer/test_runner/test_runner.h File content/shell/renderer/test_runner/test_runner.h (right): https://codereview.chromium.org/701953007/diff/160001/content/shell/renderer/test_runner/test_runner.h#newcode517 content/shell/renderer/test_runner/test_runner.h:517: // Disables mock geofencing service while running a ...
6 years ago (2014-12-10 08:59:52 UTC) #20
Marijn Kruisselbrink
https://codereview.chromium.org/701953007/diff/160001/content/shell/renderer/test_runner/test_runner.h File content/shell/renderer/test_runner/test_runner.h (right): https://codereview.chromium.org/701953007/diff/160001/content/shell/renderer/test_runner/test_runner.h#newcode517 content/shell/renderer/test_runner/test_runner.h:517: // Disables mock geofencing service while running a layout ...
6 years ago (2014-12-10 18:13:37 UTC) #22
Marijn Kruisselbrink
+tsepez for IPC OWNERS avi: could you PTAL for content/common, content/public and content/test OWNERS
6 years ago (2014-12-10 18:16:23 UTC) #24
Tom Sepez
On 2014/12/10 18:16:23, Marijn Kruisselbrink wrote: > +tsepez for IPC OWNERS So it looks like ...
6 years ago (2014-12-10 19:17:51 UTC) #25
Avi (use Gerrit)
I don't have a problem with it from the content/ standpoint. It's bothering me that ...
6 years ago (2014-12-10 19:32:14 UTC) #26
Marijn Kruisselbrink
On 2014/12/10 19:17:51, Tom Sepez wrote: > On 2014/12/10 18:16:23, Marijn Kruisselbrink wrote: > > ...
6 years ago (2014-12-10 19:45:06 UTC) #27
Marijn Kruisselbrink
On 2014/12/10 19:32:14, Avi wrote: > I don't have a problem with it from the ...
6 years ago (2014-12-10 19:45:41 UTC) #28
Marijn Kruisselbrink
On 2014/12/10 19:45:41, Marijn Kruisselbrink wrote: > On 2014/12/10 19:32:14, Avi wrote: > > I ...
6 years ago (2014-12-10 19:52:48 UTC) #29
Avi (use Gerrit)
On 2014/12/10 19:52:48, Marijn Kruisselbrink wrote: > On 2014/12/10 19:45:41, Marijn Kruisselbrink wrote: > > ...
6 years ago (2014-12-10 19:55:02 UTC) #30
Tom Sepez
It's not ideal, but I'm not going to hold this up for compromised renderers (since ...
6 years ago (2014-12-10 20:01:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701953007/220001
6 years ago (2014-12-11 01:03:54 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:220001)
6 years ago (2014-12-11 02:11:12 UTC) #34
commit-bot: I haz the power
6 years ago (2014-12-11 02:11:55 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/340dd9d3de95a7e7c027972cce7168f201ae84e8
Cr-Commit-Position: refs/heads/master@{#307836}

Powered by Google App Engine
This is Rietveld 408576698