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

Issue 13957012: Adding a NetworkProfileHandler used by ManagedNetworkConfigurationHandler. (Closed)

Created:
7 years, 8 months ago by pneubeck (no reviews)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Adding a NetworkProfileHandler used by ManagedNetworkConfigurationHandler. This handler tracks Shill's profiles. Currently only the ManagedNetworkConfigurationHandler is making use of this handler but it is also required for upcoming changes to proxy handling in ChromeOS. In the ONC validator only an LOG(ERROR) was fixed to LOG(WARNING) if the flag error_on_missing_field=false. BUG=157696 TEST=managed_network_configuration_handler_unittest.cc, networking_private_apitest.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198798

Patch Set 1 : Initial patch. #

Total comments: 54

Patch Set 2 : Addressed Steven's comments. #

Patch Set 3 : Rebased. #

Total comments: 4

Patch Set 4 : Addressed 2nd round of comments. #

Patch Set 5 : Fixed one comment. #

Total comments: 7

Patch Set 6 : Addressed last comments. #

Patch Set 7 : Rebased. #

Patch Set 8 : Fixed small issues. #

Patch Set 9 : Updated NetworkConfigurationUpdater after rebasing. #

Patch Set 10 : Add preliminary userhash retrieval. #

Total comments: 19

Patch Set 11 : Addressed Joao's comments. #

Patch Set 12 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1065 lines, -333 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/networking_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/networking_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +56 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/policy/network_configuration_updater_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/network_configuration_updater_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_manager_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_manager_client_stub.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/shill_manager_client_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +14 lines, -3 lines 0 comments Download
M chromeos/dbus/shill_profile_client.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chromeos/dbus/shill_profile_client.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/shill_profile_client_stub.h View 1 2 3 4 5 2 chunks +12 lines, -5 lines 0 comments Download
M chromeos/dbus/shill_profile_client_stub.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +40 lines, -41 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +34 lines, -16 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.cc View 1 2 3 4 5 6 7 8 9 10 31 chunks +221 lines, -142 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_unittest.cc View 1 2 3 4 5 11 chunks +186 lines, -69 lines 0 comments Download
A chromeos/network/network_profile.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chromeos/network/network_profile.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download
A chromeos/network/network_profile_handler.h View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
A chromeos/network/network_profile_handler.cc View 1 2 3 4 5 6 7 1 chunk +233 lines, -0 lines 0 comments Download
A chromeos/network/network_profile_handler_stub.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A chromeos/network/network_profile_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +30 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_validator.h View 1 chunk +1 line, -3 lines 0 comments Download
M chromeos/network/onc/onc_validator.cc View 14 chunks +25 lines, -30 lines 0 comments Download
M chromeos/test/data/network/policy/shill_policy_on_unconfigured_wifi1.json View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/policy/shill_policy_on_unmanaged_user_wifi1.json View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
pneubeck (no reviews)
https://codereview.chromium.org/13957012/diff/22001/chromeos/network/onc/onc_validator.cc File chromeos/network/onc/onc_validator.cc (right): https://codereview.chromium.org/13957012/diff/22001/chromeos/network/onc/onc_validator.cc#newcode382 chromeos/network/onc/onc_validator.cc:382: LOG(WARNING) << message; This is the only change in ...
7 years, 8 months ago (2013-04-26 17:43:18 UTC) #1
stevenjb
https://codereview.chromium.org/13957012/diff/22001/chrome/browser/chromeos/extensions/networking_private_api.cc File chrome/browser/chromeos/extensions/networking_private_api.cc (right): https://codereview.chromium.org/13957012/diff/22001/chrome/browser/chromeos/extensions/networking_private_api.cc#newcode75 chrome/browser/chromeos/extensions/networking_private_api.cc:75: // committed. crbug? Or fix before committing? https://codereview.chromium.org/13957012/diff/22001/chromeos/dbus/shill_profile_client_stub.h File ...
7 years, 8 months ago (2013-04-26 21:00:49 UTC) #2
pneubeck (no reviews)
Fixed most issues. Please see also my comment https://codereview.chromium.org/13957012/diff/22001/chromeos/network/managed_network_configuration_handler_unittest.cc#newcode93 Thanks. https://codereview.chromium.org/13957012/diff/22001/chrome/browser/chromeos/extensions/networking_private_api.cc File chrome/browser/chromeos/extensions/networking_private_api.cc (right): https://codereview.chromium.org/13957012/diff/22001/chrome/browser/chromeos/extensions/networking_private_api.cc#newcode75 ...
7 years, 7 months ago (2013-04-29 18:05:51 UTC) #3
stevenjb
https://codereview.chromium.org/13957012/diff/22001/chromeos/dbus/shill_profile_client_stub.h File chromeos/dbus/shill_profile_client_stub.h (right): https://codereview.chromium.org/13957012/diff/22001/chromeos/dbus/shill_profile_client_stub.h#newcode22 chromeos/dbus/shill_profile_client_stub.h:22: ShillManagerClient::TestInterface* manager_test); I believe strongly that we *shouldn't* combine ...
7 years, 7 months ago (2013-04-30 17:42:46 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/13957012/diff/22001/chromeos/dbus/shill_profile_client_stub.h File chromeos/dbus/shill_profile_client_stub.h (right): https://codereview.chromium.org/13957012/diff/22001/chromeos/dbus/shill_profile_client_stub.h#newcode22 chromeos/dbus/shill_profile_client_stub.h:22: ShillManagerClient::TestInterface* manager_test); On 2013/04/30 17:42:47, stevenjb (chromium) wrote: > ...
7 years, 7 months ago (2013-05-03 17:32:55 UTC) #5
stevenjb
LGTM, thanks! https://codereview.chromium.org/13957012/diff/88001/chromeos/dbus/shill_profile_client_stub.h File chromeos/dbus/shill_profile_client_stub.h (right): https://codereview.chromium.org/13957012/diff/88001/chromeos/dbus/shill_profile_client_stub.h#newcode21 chromeos/dbus/shill_profile_client_stub.h:21: explicit ShillProfileClientStub(); nit: no need for explicit ...
7 years, 7 months ago (2013-05-03 18:34:52 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/13957012/diff/88001/chromeos/dbus/shill_profile_client_stub.h File chromeos/dbus/shill_profile_client_stub.h (right): https://codereview.chromium.org/13957012/diff/88001/chromeos/dbus/shill_profile_client_stub.h#newcode21 chromeos/dbus/shill_profile_client_stub.h:21: explicit ShillProfileClientStub(); On 2013/05/03 18:34:53, stevenjb (chromium) wrote: > ...
7 years, 7 months ago (2013-05-06 07:24:43 UTC) #7
pneubeck (no reviews)
@Joao, could you please take a look at the diff of the last patch to ...
7 years, 7 months ago (2013-05-07 13:48:58 UTC) #8
pneubeck (no reviews)
@Nikita, PTAL at the changes in the last patch. Thanks!
7 years, 7 months ago (2013-05-07 13:50:09 UTC) #9
Joao da Silva
Changes from patch set 8 -> 11 (re username hash) lgtm. I don't fully understand ...
7 years, 7 months ago (2013-05-07 14:31:35 UTC) #10
pneubeck (no reviews)
https://codereview.chromium.org/13957012/diff/113001/chrome/browser/chromeos/extensions/networking_private_apitest.cc File chrome/browser/chromeos/extensions/networking_private_apitest.cc (right): https://codereview.chromium.org/13957012/diff/113001/chrome/browser/chromeos/extensions/networking_private_apitest.cc#newcode45 chrome/browser/chromeos/extensions/networking_private_apitest.cc:45: } // namespace On 2013/05/07 14:31:36, Joao da Silva ...
7 years, 7 months ago (2013-05-07 15:03:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13957012/119004
7 years, 7 months ago (2013-05-07 15:20:34 UTC) #12
Nikita (slow)
lgtm
7 years, 7 months ago (2013-05-07 15:40:39 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=124934
7 years, 7 months ago (2013-05-07 15:45:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13957012/119004
7 years, 7 months ago (2013-05-07 17:41:56 UTC) #15
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 21:08:15 UTC) #16
Message was sent while issue was closed.
Change committed as 198798

Powered by Google App Engine
This is Rietveld 408576698