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

Issue 880073002: Networking.config: Implementation of the NetworkingConfigService (Closed)

Created:
5 years, 11 months ago by cschuet (SLOW)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Ken Rockot(use gerrit already), Yoyo Zhou, Reilly Grant (use Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Networking.config: Implementation of the NetworkingConfigService Implementation of the NetworkingConfigService and boiler plate code for the networking.config API. Reviewers: Please see 1) https://docs.google.com/document/d/1V8YGouKC477iC11L4PL8H_HU1Ru3R5kMhXppuoIVNeo for the design document. 2) https://docs.google.com/drawings/d/12Hai1LdaPzwtkrQUdCjSpt1s7InRNNBDeWiW5ujfIRg for a flow diagram. Committed: https://crrev.com/b34ff556a7902fe52fe17e63c2e05faa616c8380 Cr-Commit-Position: refs/heads/master@{#314303}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Nits #

Patch Set 3 : Moved everything to extensions #

Patch Set 4 : Rebase #

Patch Set 5 : Fixing rebase #

Patch Set 6 : More moving #

Patch Set 7 : More fixes #

Total comments: 30

Patch Set 8 : adressed comments by kalman, stevenjb and asvitkine #

Total comments: 3

Patch Set 9 : BUILD.gn #

Patch Set 10 : removed use of std::all_of #

Patch Set 11 : unittest and apitest now chromeos-only #

Patch Set 12 : Updated BUILD.gn #

Patch Set 13 : Updated schemas.gypi #

Patch Set 14 : ... #

Patch Set 15 : moved & renamed apitest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -103 lines) Patch
A chrome/browser/extensions/api/networking_config_chromeos_apitest_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/networking_config.idl View 1 2 1 chunk +0 lines, -85 lines 0 comments Download
A chrome/test/data/extensions/api_test/networking_config/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/networking_config/api_availability.html View 1 2 3 4 5 6 7 1 chunk +1 line, -7 lines 0 comments Download
A chrome/test/data/extensions/api_test/networking_config/api_availability.js View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/networking_config/manifest.json View 1 chunk +8 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/networking_config/register_networks.html View 1 2 3 4 5 6 7 1 chunk +1 line, -7 lines 0 comments Download
A chrome/test/data/extensions/api_test/networking_config/register_networks.js View 1 chunk +45 lines, -0 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/OWNERS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_api.h View 1 2 3 4 5 6 7 1 chunk +55 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_api.cc View 1 2 3 4 5 6 7 1 chunk +128 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_service.h View 1 2 3 4 5 6 7 1 chunk +107 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +112 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_service_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +71 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_service_factory.h View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
A extensions/browser/api/networking_config/networking_config_service_factory.cc View 1 2 3 4 5 6 7 1 chunk +83 lines, -0 lines 0 comments Download
M extensions/browser/browser_context_keyed_service_factories.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/api/_api_features.json View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/common/api/_permission_features.json View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
A + extensions/common/api/networking_config.idl View 1 2 3 4 5 6 7 2 chunks +15 lines, -4 lines 0 comments Download
M extensions/common/api/schemas.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/permissions/api_permission.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/permissions/extensions_api_permissions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/permissions/permission_message.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/extensions_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/extensions_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (18 generated)
cschuet (SLOW)
5 years, 11 months ago (2015-01-27 20:14:56 UTC) #2
cschuet (SLOW)
5 years, 11 months ago (2015-01-27 20:18:58 UTC) #4
cschuet (SLOW)
asvitkine@chromium.org: Please review changes in extensions/browser/extension_function_histogram_value.h mkwst@chromium.org: Please review changes in chrome/common/extensions/* asargent@chromium.org: Please review ...
5 years, 11 months ago (2015-01-27 20:24:44 UTC) #6
cschuet (SLOW)
asvitkine@chromium.org: Please review changes in extensions/browser/extension_function_histogram_value.h mkwst@chromium.org: Please review changes in chrome/common/extensions/* asargent@chromium.org: Please review ...
5 years, 11 months ago (2015-01-27 20:28:37 UTC) #7
stevenjb
I haven't done a full review, but I would like to suggest placing this in ...
5 years, 11 months ago (2015-01-27 21:01:50 UTC) #8
Mike West
I'm only in the extensions OWNERS file for documentation changes. I'd suggest poking at asargent@ ...
5 years, 10 months ago (2015-01-29 11:55:04 UTC) #9
Mike West
5 years, 10 months ago (2015-01-29 11:55:14 UTC) #11
cschuet (SLOW)
https://codereview.chromium.org/880073002/diff/1/chrome/browser/extensions/api/networking_config/networking_config_api.h File chrome/browser/extensions/api/networking_config/networking_config_api.h (right): https://codereview.chromium.org/880073002/diff/1/chrome/browser/extensions/api/networking_config/networking_config_api.h#newcode16 chrome/browser/extensions/api/networking_config/networking_config_api.h:16: NetworkingConfigSetNetworkFilterFunction(); On 2015/01/27 21:01:50, stevenjb wrote: > WS Done. ...
5 years, 10 months ago (2015-01-29 13:25:20 UTC) #15
cschuet (SLOW)
asvitkine@chromium.org: Please review changes in extensions/browser/extension_function_histogram_value.h asargent@chromium.org: Please review changes in chrome/common/extensions/* extensions/*
5 years, 10 months ago (2015-01-29 13:28:27 UTC) #17
not at google - send to devlin
Some nits, but could you point me at the place where this authentication stuff is ...
5 years, 10 months ago (2015-01-29 16:48:38 UTC) #19
Alexei Svitkine (slow)
https://codereview.chromium.org/880073002/diff/120001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/880073002/diff/120001/extensions/browser/extension_function_histogram_value.h#newcode1018 extensions/browser/extension_function_histogram_value.h:1018: // tools/metrics/histograms/histograms.xml. Please update histograms.xml.
5 years, 10 months ago (2015-01-29 16:53:03 UTC) #20
stevenjb
https://codereview.chromium.org/880073002/diff/120001/extensions/browser/api/networking_config/networking_config_api.cc File extensions/browser/api/networking_config/networking_config_api.cc (right): https://codereview.chromium.org/880073002/diff/120001/extensions/browser/api/networking_config/networking_config_api.cc#newcode50 extensions/browser/api/networking_config/networking_config_api.cc:50: return RespondNow(Error(kMalformedFilterDescription)); nit: Maybe include an "Unsupported network type" ...
5 years, 10 months ago (2015-01-29 17:51:35 UTC) #21
cschuet (SLOW)
@kalman - concerning the authentication result: After an authentication attempt the extension sets the AuthenticationResult ...
5 years, 10 months ago (2015-01-30 12:33:34 UTC) #22
stevenjb
extensions/browser/api/networking_config/ lgtm
5 years, 10 months ago (2015-01-30 17:27:26 UTC) #23
cschuet (SLOW)
@asvitkine ptal @asargent friendly review ping :)
5 years, 10 months ago (2015-02-01 18:24:51 UTC) #24
Alexei Svitkine (slow)
lgtm
5 years, 10 months ago (2015-02-02 15:05:56 UTC) #25
asargent_no_longer_on_chrome
Are there any files in here where I'm an OWNER and kalman is not? If ...
5 years, 10 months ago (2015-02-02 18:01:14 UTC) #26
cschuet (SLOW)
@kalman: Would you take a look at the files extensions/* and see if you are ...
5 years, 10 months ago (2015-02-02 18:08:39 UTC) #28
not at google - send to devlin
lgtm for mechanical move changes, I don't have to look at anything else right? https://codereview.chromium.org/880073002/diff/140001/extensions/browser/browser_context_keyed_service_factories.cc ...
5 years, 10 months ago (2015-02-02 18:16:09 UTC) #29
pneubeck (no reviews)
https://codereview.chromium.org/880073002/diff/140001/extensions/browser/browser_context_keyed_service_factories.cc File extensions/browser/browser_context_keyed_service_factories.cc (right): https://codereview.chromium.org/880073002/diff/140001/extensions/browser/browser_context_keyed_service_factories.cc#newcode50 extensions/browser/browser_context_keyed_service_factories.cc:50: NetworkingConfigServiceFactory::GetInstance(); On 2015/02/02 18:16:09, kalman wrote: > rockot/yoz/reillyg - ...
5 years, 10 months ago (2015-02-02 18:18:33 UTC) #30
not at google - send to devlin
https://codereview.chromium.org/880073002/diff/140001/extensions/browser/browser_context_keyed_service_factories.cc File extensions/browser/browser_context_keyed_service_factories.cc (right): https://codereview.chromium.org/880073002/diff/140001/extensions/browser/browser_context_keyed_service_factories.cc#newcode50 extensions/browser/browser_context_keyed_service_factories.cc:50: NetworkingConfigServiceFactory::GetInstance(); On 2015/02/02 18:18:33, pneubeck wrote: > On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 18:33:17 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880073002/140001
5 years, 10 months ago (2015-02-02 18:36:03 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/4007)
5 years, 10 months ago (2015-02-02 18:59:21 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880073002/180001
5 years, 10 months ago (2015-02-02 19:44:32 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880073002/220001
5 years, 10 months ago (2015-02-02 20:37:24 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880073002/240001
5 years, 10 months ago (2015-02-02 20:51:24 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/20620)
5 years, 10 months ago (2015-02-02 21:44:13 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880073002/280001
5 years, 10 months ago (2015-02-03 09:02:23 UTC) #46
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 10 months ago (2015-02-03 10:24:17 UTC) #47
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/b34ff556a7902fe52fe17e63c2e05faa616c8380 Cr-Commit-Position: refs/heads/master@{#314303}
5 years, 10 months ago (2015-02-03 10:25:07 UTC) #48
pneubeck (no reviews)
5 years, 10 months ago (2015-02-10 08:55:58 UTC) #49
Message was sent while issue was closed.
please set BUG= in the commit message in the future.

Powered by Google App Engine
This is Rietveld 408576698