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

Issue 2468263006: Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel (Closed)

Created:
4 years, 1 month ago by Sarmad Hashmi
Modified:
4 years, 1 month ago
Reviewers:
sadrul
CC:
chromium-reviews, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel This change adds the UI_DEVTOOLS_EXPORT macro to the generated devtools files. This is mainly so that FrontendChannel and UberDispatcher classes are exposed to unit tests. BUG=648701 Committed: https://crrev.com/f6541e95f3d06008a83f38fbfe77559448bdf985 Cr-Commit-Position: refs/heads/master@{#431442}

Patch Set 1 #

Patch Set 2 : Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel #

Patch Set 3 : Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel #

Total comments: 2

Patch Set 4 : Add to BUILD file #

Patch Set 5 : Add to BUILD file #

Patch Set 6 : Sync with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M components/ui_devtools/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A components/ui_devtools/devtools_export.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
M components/ui_devtools/inspector_protocol_config.json View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
Sarmad Hashmi
PTAL sadrul@
4 years, 1 month ago (2016-11-04 07:05:19 UTC) #4
sadrul
The new UI_DEVTOOLS_EXPORT doesn't seem to be used in the code in three. Is it ...
4 years, 1 month ago (2016-11-09 14:06:27 UTC) #11
Sarmad Hashmi
Yep, it's used in all the generated classes. Sorry, should've mentioned that!
4 years, 1 month ago (2016-11-09 15:43:44 UTC) #12
sadrul
lgtm https://codereview.chromium.org/2468263006/diff/40001/components/ui_devtools/BUILD.gn File components/ui_devtools/BUILD.gn (right): https://codereview.chromium.org/2468263006/diff/40001/components/ui_devtools/BUILD.gn#newcode65 components/ui_devtools/BUILD.gn:65: "switches.h", Add the _export.h file here too.
4 years, 1 month ago (2016-11-09 15:46:23 UTC) #13
Sarmad Hashmi
https://codereview.chromium.org/2468263006/diff/40001/components/ui_devtools/BUILD.gn File components/ui_devtools/BUILD.gn (right): https://codereview.chromium.org/2468263006/diff/40001/components/ui_devtools/BUILD.gn#newcode65 components/ui_devtools/BUILD.gn:65: "switches.h", On 2016/11/09 15:46:23, sadrul wrote: > Add the ...
4 years, 1 month ago (2016-11-09 17:05:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468263006/60001
4 years, 1 month ago (2016-11-10 22:13:08 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/161852) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-11-10 22:16:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468263006/100001
4 years, 1 month ago (2016-11-11 01:07:52 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-11 01:25:52 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 01:29:39 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f6541e95f3d06008a83f38fbfe77559448bdf985
Cr-Commit-Position: refs/heads/master@{#431442}

Powered by Google App Engine
This is Rietveld 408576698