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

Issue 2350543002: chromeos; Remove unused switch --dbus-unstub-clients / --dbus-real-clients (Closed)

Created:
4 years, 3 months ago by James Cook
Modified:
4 years, 3 months ago
Reviewers:
stevenjb, sky, tbarzic
CC:
chromium-reviews, extensions-reviews_chromium.org, alemate+watch_chromium.org, sadrul, derat+watch_chromium.org, hashimoto+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, jam, achuith+watch_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos; Remove unused switch --dbus-unstub-clients / --dbus-real-clients These are unused in the chromium and chromiumos source trees and no one on the mailing list is actually using them. Remove them significantly simplifies D-Bus client initialization -- only the D-Bus thread creation needs to stay centralized. * Remove DBusClientTypes and the string representations of them * Delete the parser for the switch * Initialize the client bundles as either all real or all fake * Remove a bunch of Init/Create methods from DBusThreadManager since there are fewer conditional cases BUG=647367, 644414 TEST=chromeos_unittests, ash_unittests, unit_tests TBR=tbarzic@chromium.org for easy_unlock Committed: https://crrev.com/9be05a4b2ac43b54230f6c27711882176c377788 Cr-Commit-Position: refs/heads/master@{#419524}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -373 lines) Patch
M ash/mus/window_manager_application.cc View 2 chunks +1 line, -3 lines 0 comments Download
M ash/test/ash_test_helper.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/test/base/testing_io_thread_state.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/test/base/view_event_test_platform_part_chromeos.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chromeos/chromeos.gyp View 2 chunks +1 line, -3 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M chromeos/dbus/cros_disks_client.h View 1 chunk +1 line, -1 line 0 comments Download
D chromeos/dbus/dbus_client_bundle_unittest.cc View 1 chunk +0 lines, -41 lines 0 comments Download
A chromeos/dbus/dbus_client_implementation_type.h View 1 chunk +18 lines, -0 lines 0 comments Download
D chromeos/dbus/dbus_client_types.h View 1 chunk +0 lines, -54 lines 0 comments Download
D chromeos/dbus/dbus_client_types.cc View 1 chunk +0 lines, -69 lines 0 comments Download
M chromeos/dbus/dbus_clients_browser.h View 2 chunks +3 lines, -4 lines 0 comments Download
M chromeos/dbus/dbus_clients_browser.cc View 2 chunks +9 lines, -17 lines 0 comments Download
M chromeos/dbus/dbus_clients_common.h View 3 chunks +3 lines, -11 lines 0 comments Download
M chromeos/dbus/dbus_clients_common.cc View 4 chunks +19 lines, -26 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.h View 4 chunks +8 lines, -24 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.cc View 4 chunks +23 lines, -63 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager_unittest.cc View 2 chunks +1 line, -19 lines 0 comments Download
M chromeos/dbus/power_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/update_engine_client.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_browser_main_parts.cc View 2 chunks +1 line, -3 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.cc View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
James Cook
stevenjb, please take a look. The one person who said he was using the switch ...
4 years, 3 months ago (2016-09-17 02:28:24 UTC) #6
stevenjb
Makes sense. LGTM.
4 years, 3 months ago (2016-09-19 16:15:56 UTC) #7
James Cook
sky, can I get a rubber-stamp for a trivial method change touching //chrome/test ?
4 years, 3 months ago (2016-09-19 17:01:48 UTC) #9
sky
chrome/test LGTM
4 years, 3 months ago (2016-09-19 18:04:11 UTC) #14
James Cook
TBR tbarzic for small refactor/rename touching chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc
4 years, 3 months ago (2016-09-19 19:02:09 UTC) #17
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/2350543002/40001
4 years, 3 months ago (2016-09-19 19:03:01 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-19 19:10:10 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:02:53 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9be05a4b2ac43b54230f6c27711882176c377788
Cr-Commit-Position: refs/heads/master@{#419524}

Powered by Google App Engine
This is Rietveld 408576698