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

Issue 2718043002: Replace more hardcoded "ash" strings with ash::mojom::kServiceName (Closed)

Created:
3 years, 9 months ago by fwang
Modified:
3 years, 9 months ago
Reviewers:
achuithb, sky
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, Matt Giuca, tfarina, achuith+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org, tonikitoo, Ken Rockot(use gerrit already)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace more hardcoded "ash" strings with ash::mojom::kServiceName The ash::mojom::kServiceName constant was introduced in [1] and replaced some of the hardcoded "ash" strings. This CL finishes that work. It also removes the ash_util::GetAshServiceName helper function and replaced it with direct use of ash::mojom::kServiceName. [1] https://codereview.chromium.org/2710673002/ BUG=697053 Review-Url: https://codereview.chromium.org/2718043002 Cr-Commit-Position: refs/heads/master@{#453636} Committed: https://chromium.googlesource.com/chromium/src/+/02332dbe5aff4778c597467c4fc62796586464cf

Patch Set 1 #

Patch Set 2 : Fix missing argument. #

Patch Set 3 : Do not include ash header on non-ChromeOS platforms. #

Patch Set 4 : Remove ash_util includes that are no longer needed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -40 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/locale_change_guard.cc View 1 2 3 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_presenter_service.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/ash_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/ash_util.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/cast_config_client_media_router.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_client.cc View 1 2 3 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/media_client.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_controller_client.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/volume_controller.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/vpn_list_forwarder.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M mash/package/mash_packaged_service.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (22 generated)
fwang
PTAL
3 years, 9 months ago (2017-02-27 17:48:11 UTC) #13
sky
Can any of the includes to ash_util be removed now?
3 years, 9 months ago (2017-02-28 04:20:26 UTC) #16
fwang
On 2017/02/28 04:20:26, sky wrote: > Can any of the includes to ash_util be removed ...
3 years, 9 months ago (2017-02-28 12:26:39 UTC) #21
achuithb
lgtm. Since you have a few CLs, I think it makes sense to open a ...
3 years, 9 months ago (2017-02-28 15:39:38 UTC) #22
fwang
On 2017/02/28 15:39:38, achuithb wrote: > lgtm. > > Since you have a few CLs, ...
3 years, 9 months ago (2017-02-28 15:52:39 UTC) #24
sky
LGTM
3 years, 9 months ago (2017-02-28 17:42:07 UTC) #25
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/2718043002/60001
3 years, 9 months ago (2017-02-28 17:44:23 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 17:49:25 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/02332dbe5aff4778c597467c4fc6...

Powered by Google App Engine
This is Rietveld 408576698