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

Issue 1274753006: Modify languageSettingsPrivate IDL and flesh out stub implementation (Closed)

Created:
5 years, 4 months ago by michaelpg
Modified:
5 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jlklein+watch-closure_chromium.org, asvitkine+watch_chromium.org, vitalyp+closure_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify languageSettingsPrivate IDL and flesh out stub implementation While implementing this API, I've come across some API changes I'd like to make before submitting the actual implementation. This also introduces the stub event router delegate and brings the stubs closer to what the implementation looks like. The implementation CL will be posted after this one: https://codereview.chromium.org/1283603002/ BUG=479043 Committed: https://crrev.com/958079e822f32b2dfe18b1bb95fbbec2684decc2 Cr-Commit-Position: refs/heads/master@{#343474}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : feedback #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -78 lines) Patch
M chrome/browser/extensions/api/language_settings_private/language_settings_private_api.h View 1 chunk +13 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/language_settings_private/language_settings_private_api.cc View 2 chunks +20 lines, -13 lines 0 comments Download
A chrome/browser/extensions/api/language_settings_private/language_settings_private_delegate.h View 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/language_settings_private/language_settings_private_delegate.cc View 1 chunk +92 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/language_settings_private/language_settings_private_delegate_factory.h View 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/language_settings_private/language_settings_private_delegate_factory.cc View 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/browser/extensions/browser_context_keyed_service_factories.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/language_settings_private.idl View 1 5 chunks +31 lines, -25 lines 0 comments Download
M extensions/browser/extension_event_histogram_value.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/closure_compiler/externs/language_settings_private.js View 1 5 chunks +25 lines, -27 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +6 lines, -0 lines 1 comment Download

Dependent Patchsets:

Messages

Total messages: 26 (10 generated)
michaelpg
PTAL! stevenjb: everything asvitkine: extensions/browser/extension_event_histogram_value.h tools/metrics/histograms/histograms.xml dbeam: third_party/closure_compiler/externs/language_settings_private.js (generated) kalman: chrome/browser/extensions/browser_context_keyed_service_factories.cc chrome/common/extensions/api/language_settings_private.idl
5 years, 4 months ago (2015-08-08 03:11:04 UTC) #4
Alexei Svitkine (slow)
lgtm
5 years, 4 months ago (2015-08-10 15:56:41 UTC) #5
stevenjb
https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl File chrome/common/extensions/api/language_settings_private.idl (right): https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl#newcode19 chrome/common/extensions/api/language_settings_private.idl:19: boolean? rtl; As long as we are renaming things, ...
5 years, 4 months ago (2015-08-10 15:57:20 UTC) #6
not at google - send to devlin
rs lgtm https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl File chrome/common/extensions/api/language_settings_private.idl (right): https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl#newcode22 chrome/common/extensions/api/language_settings_private.idl:22: boolean? supportsUi; On 2015/08/10 15:57:20, stevenjb wrote: ...
5 years, 4 months ago (2015-08-10 17:01:04 UTC) #7
michaelpg
https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl File chrome/common/extensions/api/language_settings_private.idl (right): https://codereview.chromium.org/1274753006/diff/40001/chrome/common/extensions/api/language_settings_private.idl#newcode19 chrome/common/extensions/api/language_settings_private.idl:19: boolean? rtl; On 2015/08/10 15:57:20, stevenjb wrote: > As ...
5 years, 4 months ago (2015-08-10 22:35:06 UTC) #9
stevenjb
lgtm
5 years, 4 months ago (2015-08-10 22:48:27 UTC) #10
michaelpg
dbeam: ping for externs
5 years, 4 months ago (2015-08-14 00:24:05 UTC) #11
Dan Beam
lgtm https://codereview.chromium.org/1274753006/diff/80001/third_party/closure_compiler/externs/language_settings_private.js File third_party/closure_compiler/externs/language_settings_private.js (left): https://codereview.chromium.org/1274753006/diff/80001/third_party/closure_compiler/externs/language_settings_private.js#oldcode1 third_party/closure_compiler/externs/language_settings_private.js:1: language_settings_private_externs.js @_@
5 years, 4 months ago (2015-08-14 17:51:57 UTC) #12
michaelpg
https://codereview.chromium.org/1274753006/diff/80001/third_party/closure_compiler/externs/language_settings_private.js File third_party/closure_compiler/externs/language_settings_private.js (left): https://codereview.chromium.org/1274753006/diff/80001/third_party/closure_compiler/externs/language_settings_private.js#oldcode1 third_party/closure_compiler/externs/language_settings_private.js:1: language_settings_private_externs.js On 2015/08/14 17:51:57, Dan Beam wrote: > @_@ ...
5 years, 4 months ago (2015-08-14 17:56:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274753006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274753006/80001
5 years, 4 months ago (2015-08-14 17:56:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/85108) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-14 17:57:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274753006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274753006/100001
5 years, 4 months ago (2015-08-14 19:19:20 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 4 months ago (2015-08-14 20:23:55 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/958079e822f32b2dfe18b1bb95fbbec2684decc2 Cr-Commit-Position: refs/heads/master@{#343474}
5 years, 4 months ago (2015-08-14 20:24:36 UTC) #23
Ilya Sherman
https://codereview.chromium.org/1274753006/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1274753006/diff/100001/tools/metrics/histograms/histograms.xml#newcode56519 tools/metrics/histograms/histograms.xml:56519: + <int value="379" There's a gap in your numbering ...
5 years, 3 months ago (2015-09-10 00:12:09 UTC) #25
michaelpg
5 years, 3 months ago (2015-09-15 16:27:55 UTC) #26
Message was sent while issue was closed.
On 2015/09/10 00:12:09, Ilya Sherman wrote:
>
https://codereview.chromium.org/1274753006/diff/100001/tools/metrics/histogra...
> File tools/metrics/histograms/histograms.xml (right):
> 
>
https://codereview.chromium.org/1274753006/diff/100001/tools/metrics/histogra...
> tools/metrics/histograms/histograms.xml:56519: +  <int value="379"
> There's a gap in your numbering here -- this should be 378.  If you added
these
> entries manually, for future reference, there's a script [1] that automates
the
> process.  If you added them using the script, that sounds like a pretty
> worrisome bug, which we should fix...
> 
> [1]
>
https://code.google.com/p/chromium/codesearch#chromium/src/tools/metrics/hist...

Ah, sorry. I *thought* that I used the script but I did manually rebase. I
remember updating the numbers manually, at any rate, so I must've introduced the
error then.

Thanks for fixing. I'll be more careful next time and double-check before I
land.

Powered by Google App Engine
This is Rietveld 408576698