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

Issue 2721153004: Remove ash_util namespace (Closed)

Created:
3 years, 9 months ago by fwang
Modified:
3 years, 9 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, nektar+watch_chromium.org, dmazzoni+watch_chromium.org, extensions-reviews_chromium.org, Matt Giuca, aboxhall+watch_chromium.org, achuith+watch_chromium.org, nona+watch_chromium.org, je_julie, kalyank, dbeam+watch-options_chromium.org, alemate+watch_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, michaelpg+watch-options_chromium.org, tfarina, shuchen+watch_chromium.org, dtseng+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, davemoore+watch_chromium.org, James Cook, tonikitoo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ash_util namespace This CL removes the namespace for ash_util functions, following the convention "Use namespaces based on the path, and not invent special namespaces for a single file" [1]. Changes were automated using the following bash command: for file in `find -type f -name '*.cc' -o -name '*.h' | \ xargs grep '/ash_util.h"' | sed 's/:.*//'`; do \ sed -i 's/ash_util:://' $file; \ done [1] https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/namespace$20usage/chromium-dev/RVps606IB_g/ZLes1CVel40J BUG=697053

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -111 lines) Patch
M chrome/browser/chrome_browser_main_extra_parts_exo.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/display/output_protection_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/session/chrome_session_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/input_events_blocker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 18 chunks +19 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/options/network_config_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 11 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/fullscreen_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/ash_util.h View 2 chunks +0 lines, -4 lines 1 comment Download
M chrome/browser/ui/ash/ash_util.cc View 2 chunks +0 lines, -4 lines 3 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/chrome_web_dialog_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/power_handler.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
fwang
PTAL
3 years, 9 months ago (2017-03-01 10:27:12 UTC) #7
achuithb
Feels weird to have these in the global namespace. sky@ - how do you feel ...
3 years, 9 months ago (2017-03-01 10:46:46 UTC) #9
stevenjb
I'm not in favor of arbitrarily removing this namespace, especially when "IsAcceleratorDeprecated" would be in ...
3 years, 9 months ago (2017-03-01 17:42:32 UTC) #11
James Cook
I don't mean to bikeshed, but I don't like removing this namespace either. In particular, ...
3 years, 9 months ago (2017-03-01 18:11:15 UTC) #12
sky
I think I was hasty in leading you down this path. https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/namespace$20usage/chromium-dev/RVps606IB_g/ZLes1CVel40J earlier on recommended ...
3 years, 9 months ago (2017-03-01 20:50:15 UTC) #13
fwang
3 years, 9 months ago (2017-03-02 10:52:59 UTC) #14
This change seems controversial and ash is not on my main work goal [*]. I
believe enough clean up of ash_util is done for now. Hence I'm closing this CL
and I'm resolving the corresponding bug. Thank you again for the feedback /
review! 

[*] All started in https://codereview.chromium.org/2710673002/ when I found a
small TODO while analyzing the startup sequence of "chrome --mash"...

Powered by Google App Engine
This is Rietveld 408576698