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

Issue 240193003: Move Infobars core files to the Infobars component (Closed)

Created:
6 years, 8 months ago by droger
Modified:
6 years, 7 months ago
CC:
chromium-reviews, asanka, browser-components-watch_chromium.org, stuartmorgan+watch_chromium.org, dmazzoni+watch_chromium.org, markusheintz_, aandrey+blink_chromium.org, miu+watch_chromium.org, extensions-reviews_chromium.org, vsevik, benjhayden+dwatch_chromium.org, jam, benquan, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, dtseng+watch_chromium.org, fischman+watch_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, paulirish+reviews_chromium.org, pam+watch_chromium.org, Michael van Ouwerkerk, piman+watch_chromium.org, rouslan+autofillwatch_chromium.org, plundblad+watch_chromium.org, tfarina, mcasas+watch_chromium.org, yurys, aboxhall+watch_chromium.org, native-client-reviews_googlegroups.com, Dane Wallinga, dyu1, estade+watch_chromium.org, wjia+watch_chromium.org, pfeldman
Visibility:
Public.

Description

Move Infobars core files to the Infobars component This CL sets up the directory structure for the Infobars component and the infobars_core target. It also does a simple code move to the compoonent. This CL does not move ConfirmInfoBarDelegate because it still has a dependency on chrome/ (for strings). BUG=354379 TBR=sky, reed Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264792

Patch Set 1 #

Patch Set 2 : fix components/OWNERS #

Total comments: 5

Patch Set 3 : review comments #

Total comments: 4

Patch Set 4 : namespace change #

Patch Set 5 : style nits #

Patch Set 6 : rebase #

Patch Set 7 : fix nib name on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+691 lines, -1646 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/accessibility/accessibility_extension_api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/accessibility/accessibility_extension_apitest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/tab_android.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_cc_infobar_delegate.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_interactive_uitest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chrome_quota_permission_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/permission_queue_controller.cc View 1 2 3 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_request_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/debugger/debugger_api.cc View 1 2 3 9 chunks +17 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_infobar_delegate.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_infobar_delegate.cc View 1 2 3 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_ui_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/theme_installed_infobar_delegate.cc View 1 2 3 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc View 1 2 3 4 5 16 chunks +21 lines, -20 lines 0 comments Download
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_delegate.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_delegate.cc View 1 2 3 4 5 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/google/google_url_tracker.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/google/google_url_tracker.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/google/google_url_tracker_infobar_delegate.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/google/google_url_tracker_infobar_delegate.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/google/google_url_tracker_map_entry.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/google/google_url_tracker_unittest.cc View 1 2 3 9 chunks +22 lines, -20 lines 0 comments Download
M chrome/browser/infobars/confirm_infobar_delegate.h View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/infobars/confirm_infobar_delegate.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
D chrome/browser/infobars/infobar.h View 1 chunk +0 lines, -149 lines 0 comments Download
D chrome/browser/infobars/infobar.cc View 1 chunk +0 lines, -175 lines 0 comments Download
D chrome/browser/infobars/infobar_container.h View 1 chunk +0 lines, -133 lines 0 comments Download
D chrome/browser/infobars/infobar_container.cc View 1 chunk +0 lines, -175 lines 0 comments Download
D chrome/browser/infobars/infobar_delegate.h View 1 chunk +0 lines, -143 lines 0 comments Download
D chrome/browser/infobars/infobar_delegate.cc View 1 chunk +0 lines, -107 lines 0 comments Download
D chrome/browser/infobars/infobar_manager.h View 1 chunk +0 lines, -120 lines 0 comments Download
D chrome/browser/infobars/infobar_manager.cc View 1 chunk +0 lines, -137 lines 0 comments Download
M chrome/browser/infobars/infobar_service.h View 1 2 3 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/infobars/infobar_service.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/infobars/insecure_content_infobar_delegate.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/infobars/simple_alert_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_mode_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_mode_interstitial.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_navigation_observer.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_navigation_observer.cc View 1 2 3 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/media/chrome_media_stream_infobar_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate.cc View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/media/midi_permission_infobar_delegate.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/media/midi_permission_infobar_delegate.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 2 3 9 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/nacl_host/nacl_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/notifications/notification_browsertest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.cc View 1 2 3 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/pepper_broker_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.cc View 1 2 3 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/plugins/plugin_observer.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_tab_helper.cc View 1 2 3 4 6 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/task_manager/task_manager_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/three_d_api_observer.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/translate/translate_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.cc View 1 2 3 6 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/translate/translate_manager_render_view_host_unittest.cc View 1 2 3 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/infobars/confirm_infobar.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/android/infobars/infobar_android.h View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/infobars/infobar_android.cc View 1 2 3 4 2 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/android/infobars/infobar_container_android.h View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/android/infobars/infobar_container_android.cc View 1 2 3 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ui/android/infobars/save_password_infobar.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/infobars/translate_infobar.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/auto_login_infobar_delegate.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/chrome_select_file_policy.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_cocoa.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_controller.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_controller_unittest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.mm View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_utilities.mm View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/keystone_infobar_delegate.mm View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/collected_cookies_infobar_delegate.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/extension_install_ui_default.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/hung_plugin_tab_helper.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/hung_plugin_tab_helper.cc View 1 2 3 5 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/startup/autolaunch_prompt_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/session_crashed_infobar_delegate.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/infobars/confirm_infobar.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/infobars/extension_infobar.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_background.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_background.cc View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_container_view.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_container_view.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 1 2 3 4 6 chunks +18 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/infobars/translate_infobar_base.cc View 1 2 3 4 chunks +17 lines, -10 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/gpu/webgl_infobar_browsertest.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M components/OWNERS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A components/infobars.gypi View 1 chunk +32 lines, -0 lines 0 comments Download
A components/infobars/DEPS View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A + components/infobars/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/infobars/README View 1 chunk +7 lines, -0 lines 0 comments Download
A + components/infobars/core/infobar.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
A + components/infobars/core/infobar.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
A + components/infobars/core/infobar_container.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
A + components/infobars/core/infobar_container.cc View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
A + components/infobars/core/infobar_delegate.h View 1 2 3 4 chunks +9 lines, -4 lines 0 comments Download
A + components/infobars/core/infobar_delegate.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
A + components/infobars/core/infobar_manager.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
A + components/infobars/core/infobar_manager.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
A components/infobars/core/infobars_switches.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A + components/infobars/core/infobars_switches.cc View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
droger
pkasting: please do an overall review jochen: please review the creation of the Infobar component ...
6 years, 8 months ago (2014-04-16 15:12:39 UTC) #1
Peter Kasting
https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (left): https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc#oldcode306 chrome/common/chrome_switches.cc:306: const char kDisableInfoBars[] = "disable-infobars"; How do you know ...
6 years, 8 months ago (2014-04-16 20:18:00 UTC) #2
droger
https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (left): https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc#oldcode306 chrome/common/chrome_switches.cc:306: const char kDisableInfoBars[] = "disable-infobars"; On 2014/04/16 20:18:01, Peter ...
6 years, 8 months ago (2014-04-17 08:09:51 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/240193003/diff/30001/components/infobars/OWNERS File components/infobars/OWNERS (left): https://codereview.chromium.org/240193003/diff/30001/components/infobars/OWNERS#oldcode1 components/infobars/OWNERS:1: pkasting@chromium.org is there nobody else that could do reviews? ...
6 years, 8 months ago (2014-04-17 08:22:27 UTC) #4
droger
https://codereview.chromium.org/240193003/diff/30001/components/infobars/OWNERS File components/infobars/OWNERS (left): https://codereview.chromium.org/240193003/diff/30001/components/infobars/OWNERS#oldcode1 components/infobars/OWNERS:1: pkasting@chromium.org On 2014/04/17 08:22:28, jochen wrote: > is there ...
6 years, 8 months ago (2014-04-17 12:30:07 UTC) #5
jochen (gone - plz use gerrit)
components/ lgtm
6 years, 8 months ago (2014-04-17 12:33:15 UTC) #6
Peter Kasting
I wish you had not made the namespace change in this CL, at least without ...
6 years, 8 months ago (2014-04-17 20:20:51 UTC) #7
Peter Kasting
(Forgot to send this) https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (left): https://codereview.chromium.org/240193003/diff/20001/chrome/common/chrome_switches.cc#oldcode306 chrome/common/chrome_switches.cc:306: const char kDisableInfoBars[] = "disable-infobars"; ...
6 years, 8 months ago (2014-04-17 20:23:59 UTC) #8
jochen (gone - plz use gerrit)
On 2014/04/17 20:20:51, Peter Kasting wrote: > I wish you had not made the namespace ...
6 years, 8 months ago (2014-04-17 20:24:36 UTC) #9
Ilya Sherman
On 2014/04/17 20:20:51, Peter Kasting wrote: > * I'm not convinced of the desirability of ...
6 years, 8 months ago (2014-04-17 20:26:02 UTC) #10
droger
pasting: I'm ok to do a renaming if needed. Can I commit this CL as ...
6 years, 8 months ago (2014-04-17 20:43:59 UTC) #11
Peter Kasting
On 2014/04/17 20:43:59, droger wrote: > pasting: I'm ok to do a renaming if needed. ...
6 years, 8 months ago (2014-04-17 20:45:56 UTC) #12
droger
On 2014/04/17 20:43:59, droger wrote: > pasting: [...] Oops I meant 'pkasting', but it was ...
6 years, 8 months ago (2014-04-17 20:46:15 UTC) #13
droger
The CQ bit was checked by droger@chromium.org
6 years, 8 months ago (2014-04-17 20:48:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/240193003/70001
6 years, 8 months ago (2014-04-17 20:49:05 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 20:49:53 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/browser/DEPS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-17 20:49:53 UTC) #17
droger
The CQ bit was checked by droger@chromium.org
6 years, 8 months ago (2014-04-18 09:08:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/240193003/90001
6 years, 8 months ago (2014-04-18 09:08:45 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 09:34:47 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-18 09:34:47 UTC) #21
droger
TBR reed for dependency of compontents/infobars on third_party/skia/ TBR sky for dependency of compontents/infobars on ...
6 years, 8 months ago (2014-04-18 09:47:44 UTC) #22
droger
The CQ bit was checked by droger@chromium.org
6 years, 8 months ago (2014-04-18 09:47:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/240193003/90001
6 years, 8 months ago (2014-04-18 09:48:10 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 10:23:28 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-18 10:23:29 UTC) #26
droger
The CQ bit was checked by droger@chromium.org
6 years, 8 months ago (2014-04-18 11:12:49 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/240193003/90001
6 years, 8 months ago (2014-04-18 11:12:53 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 11:46:12 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-18 11:46:13 UTC) #30
droger
The CQ bit was checked by droger@chromium.org
6 years, 8 months ago (2014-04-18 12:02:20 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/240193003/110001
6 years, 8 months ago (2014-04-18 12:02:30 UTC) #32
commit-bot: I haz the power
Change committed as 264792
6 years, 8 months ago (2014-04-18 15:09:50 UTC) #33
blundell
6 years, 7 months ago (2014-04-28 09:05:20 UTC) #34
Message was sent while issue was closed.
On 2014/04/17 20:24:36, jochen wrote:
> On 2014/04/17 20:20:51, Peter Kasting wrote:
> > I wish you had not made the namespace change in this CL, at least without
> > discussing it some first.  It may not be wrong, but I wanted to have some
> > clarity on the following questions before proceeding:
> > 
> > * I'm not convinced of the desirability of a namespace.  Chrome code largely
> > avoids these.  Why do we need one here?
> > * If we are going to use a namespace, it seems like we should try and remove
> > redundancy in the typenames, e.g. infobars::InfoBarXXX -> infobars::XXX. 
> Unless
> > there's a reason not to do this?
> > 
> > The rest of the change LGTM.
> 
> We usually put all components into their own namespace.
> 
> Making the names less redundant sounds like a good thing, but that's up to you
> as owner of the code

Yes, all components get their own namespace, in accordance with the Chromium
convention that modules that are intended to be consumed by embedders get a
namespace corresponding to the top-level module name (e.g., ::base). This is
specified in //components/README.

Wrt the redundancy in names, I see tradeoffs each way. Most components have e.g.
"*Manager", "*Driver", "*Client". These can either be signin::SigninManager,
autofill::AutofillManager, infobars::InfoBarManager, or signin::Manager,
autofill::Manager, infobars::Manager. I don't feel strongly about which way is
preferable; to date, we've done the former, and if we were to do a change, I
would like it to be a consistent decision across components (i.e., I *don't*
think the decision should be made in different ways for different components).

Powered by Google App Engine
This is Rietveld 408576698