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

Issue 23440025: TestRunner library classes should be marked as NonCopyable. (Closed)

Created:
7 years, 3 months ago by r.kasibhatla
Modified:
7 years, 3 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, eae+blinkwatch, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

TestRunner library classes should be marked as NonCopyable. Mark the TestRunner library classes as NonCopyable. This is the first patch in this direction, where we are deriving the classes from WebKit::WebNonCopyable (defined as a base class in public/platform/WebNonCopyable.h). Next patch would sync public/platform/WebNonCopyable.h with wtf/Noncopyable.h and define WebNonCopyable as a macro and correct all classes defined in public/* which are deriving from WebNonCopyable class to rather use the macro. BUG=229178 TEST=None; No behavior change; No breakge with webkit_unit_tests, content_unittests, layout_tests. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157884

Patch Set 1 : TestRunner library classes should be marked as NonCopyable. #

Patch Set 2 : Corrected for failing layout test cases. #

Patch Set 3 : #

Patch Set 4 : Corrected the win_layout build failure. #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -30 lines) Patch
M Source/testing/runner/CppBoundClass.h View 3 chunks +2 lines, -5 lines 0 comments Download
M Source/testing/runner/CppVariant.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockColorChooser.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockSpellCheck.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebAudioDevice.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebCrypto.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebMIDIAccessor.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebMediaStreamCenter.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebRTCDTMFSenderHandler.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebRTCDataChannelHandler.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebRTCPeerConnectionHandler.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebSpeechInputController.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebSpeechRecognizer.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/MockWebValidationMessageClient.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/NotificationPresenter.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/SpellCheckClient.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/testing/runner/TestInterfaces.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/testing/runner/TestPlugin.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/WebPermissions.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/WebTestThemeControlWin.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/testing/runner/WebTestThemeEngineMac.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/WebTestThemeEngineWin.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/testing/runner/WebUserMediaClientMock.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M public/testing/WebFrameTestProxy.h View 1 chunk +2 lines, -1 line 0 comments Download
M public/testing/WebTestProxy.h View 1 2 3 4 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
r.kasibhatla
PTAL. Thanks
7 years, 3 months ago (2013-09-12 06:30:03 UTC) #1
r.kasibhatla
7 years, 3 months ago (2013-09-12 07:10:45 UTC) #2
jochen (gone - plz use gerrit)
lgtm
7 years, 3 months ago (2013-09-12 09:45:37 UTC) #3
tonyg
I'm not a good reviewer for this change. Any chance you meant to add tony@ ...
7 years, 3 months ago (2013-09-12 16:51:18 UTC) #4
tony
LGTM too.
7 years, 3 months ago (2013-09-12 17:26:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/23440025/2001
7 years, 3 months ago (2013-09-12 19:25:53 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=4746
7 years, 3 months ago (2013-09-12 21:25:07 UTC) #7
r.kasibhatla
On 2013/09/12 21:25:07, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 3 months ago (2013-09-13 13:45:26 UTC) #8
r.kasibhatla
On 2013/09/13 13:45:26, r.kasibhatla wrote: > On 2013/09/12 21:25:07, I haz the power (commit-bot) wrote: ...
7 years, 3 months ago (2013-09-16 11:16:20 UTC) #9
jochen (gone - plz use gerrit)
On 2013/09/16 11:16:20, r.kasibhatla wrote: > On 2013/09/13 13:45:26, r.kasibhatla wrote: > > On 2013/09/12 ...
7 years, 3 months ago (2013-09-16 11:25:39 UTC) #10
r.kasibhatla
On 2013/09/16 11:25:39, jochen wrote: > On 2013/09/16 11:16:20, r.kasibhatla wrote: > > On 2013/09/13 ...
7 years, 3 months ago (2013-09-16 11:40:00 UTC) #11
jochen (gone - plz use gerrit)
ok Since WebNonCopyable isn't virtual, we shouldn't add virtual to the dtors Can you remove ...
7 years, 3 months ago (2013-09-16 13:00:56 UTC) #12
r.kasibhatla
On 2013/09/16 13:00:56, jochen wrote: > ok > > Since WebNonCopyable isn't virtual, we shouldn't ...
7 years, 3 months ago (2013-09-16 15:19:23 UTC) #13
jochen (gone - plz use gerrit)
lgtm
7 years, 3 months ago (2013-09-16 15:21:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/23440025/31001
7 years, 3 months ago (2013-09-16 15:33:03 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-16 16:54:51 UTC) #16
r.kasibhatla
On 2013/09/16 16:54:51, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 3 months ago (2013-09-16 17:54:37 UTC) #17
r.kasibhatla
On 2013/09/16 17:54:37, r.kasibhatla wrote: > On 2013/09/16 16:54:51, I haz the power (commit-bot) wrote: ...
7 years, 3 months ago (2013-09-16 19:25:16 UTC) #18
r.kasibhatla
On 2013/09/16 19:25:16, r.kasibhatla wrote: > On 2013/09/16 17:54:37, r.kasibhatla wrote: > > On 2013/09/16 ...
7 years, 3 months ago (2013-09-16 19:27:30 UTC) #19
tony
LGTM https://codereview.chromium.org/23440025/diff/52001/public/testing/WebTestProxy.h File public/testing/WebTestProxy.h (right): https://codereview.chromium.org/23440025/diff/52001/public/testing/WebTestProxy.h#newcode272 public/testing/WebTestProxy.h:272: // as Noncopyable. Nit: You might want to ...
7 years, 3 months ago (2013-09-16 19:39:29 UTC) #20
r.kasibhatla
On 2013/09/16 19:39:29, tony wrote: > LGTM > > https://codereview.chromium.org/23440025/diff/52001/public/testing/WebTestProxy.h > File public/testing/WebTestProxy.h (right): > ...
7 years, 3 months ago (2013-09-17 01:37:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/23440025/7001
7 years, 3 months ago (2013-09-17 05:33:56 UTC) #22
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 07:03:05 UTC) #23
Message was sent while issue was closed.
Change committed as 157884

Powered by Google App Engine
This is Rietveld 408576698