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

Issue 3823002: Move windows version-related stuff out of base/win_util and into base/win/win... (Closed)

Created:
10 years, 2 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, pam+watch_chromium.org, ben+cc_chromium.org, amit, brettw-cc_chromium.org, jam, darin-cc_chromium.org, Paweł Hajdan Jr., stuartmorgan+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Move windows version-related stuff out of base/win_util and into base/win/windows_version. Many files now only need to include this instead of all of win_util. Remove a bunch of unused code from base/win_util. There was a surprising amount. Replace the AppUserModel property key with the one from the SDK now that we use the Win7 SDK. Move GetLogonSessionOnlyDACL from win_util to ipc since it's only used in that one place. TEST=it compiles BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62694

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 22

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -960 lines) Patch
M app/animation.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M app/animation_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M app/l10n_util_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M app/l10n_util_win.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M app/resource_bundle_win.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M app/win_util.cc View 1 2 3 4 4 chunks +4 lines, -3 lines 0 comments Download
M base/base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M base/base_paths_win.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M base/file_util_win.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M base/path_service_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M base/pe_image_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M base/platform_thread_win.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M base/process_util_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M base/trace_event_win_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
A + base/win/windows_version.h View 1 chunk +16 lines, -116 lines 0 comments Download
A + base/win/windows_version.cc View 1 2 3 4 5 3 chunks +15 lines, -389 lines 0 comments Download
M base/win_util.h View 1 2 3 4 2 chunks +12 lines, -48 lines 0 comments Download
M base/win_util.cc View 1 7 chunks +5 lines, -230 lines 0 comments Download
M base/win_util_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/app/chrome_exe_main.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/aeropeek_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/browser_main_win.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/bug_report_util.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/diagnostics/recon_diagnostics.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/dom_ui/chrome_url_data_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/wifi_data_provider_win.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/google/google_update.cc View 2 chunks +2 lines, -2 lines 1 comment Download
M chrome/browser/importer/ie_importer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/jumplist_win.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 chunk +1 line, -0 lines 2 comments Download
M chrome/browser/shell_integration_win.cc View 1 6 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/views/about_chrome_view.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/views/create_application_shortcut_view.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/views/shell_dialogs_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/common/sandbox_policy.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/pepper_widget.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/mini_installer_test/test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/tools/crash_service/crash_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/chrome_launcher_utils.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/chrome_tab.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/delete_chrome_history.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/simple_resource_loader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M chrome_frame/test/test_with_web_server.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gfx/native_theme_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gfx/win_util.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 3 4 3 chunks +68 lines, -2 lines 0 comments Download
M sandbox/src/integrity_level_test.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M sandbox/src/policy_broker.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M sandbox/src/policy_target_test.cc View 4 chunks +5 lines, -5 lines 1 comment Download
M sandbox/src/registry_dispatcher.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M sandbox/src/restricted_token_utils.cc View 1 2 3 4 5 chunks +5 lines, -6 lines 0 comments Download
M views/controls/button/native_button_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M views/controls/menu/menu_host_win.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M views/controls/textfield/native_textfield_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/window/window_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webkit/glue/plugins/pepper_scrollbar.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
brettw
10 years, 2 months ago (2010-10-14 06:15:24 UTC) #1
Peter Kasting
Mostly copyright date nits but a few real questions http://codereview.chromium.org/3823002/diff/12004/81006 File app/win_util.cc (right): http://codereview.chromium.org/3823002/diff/12004/81006#newcode1 app/win_util.cc:1: ...
10 years, 2 months ago (2010-10-14 19:53:37 UTC) #2
brettw
New snap up http://codereview.chromium.org/3823002/diff/12004/81017 File base/win_util.cc (right): http://codereview.chromium.org/3823002/diff/12004/81017#newcode8 base/win_util.cc:8: #include <shobjidl.h> // Must be before ...
10 years, 2 months ago (2010-10-14 20:19:55 UTC) #3
Peter Kasting
LGTM; only three comments from the first review that you didn't address, I've copied them ...
10 years, 2 months ago (2010-10-14 20:30:45 UTC) #4
brettw
10 years, 2 months ago (2010-10-14 20:36:40 UTC) #5
http://codereview.chromium.org/3823002/diff/47008/20036
File chrome/browser/renderer_host/render_widget_host_view_win.cc (right):

http://codereview.chromium.org/3823002/diff/47008/20036#newcode1326
chrome/browser/renderer_host/render_widget_host_view_win.cc:1326: DLOG(ERROR) <<
"KeyEvent " << message << " wParam " << wparam;
Whoops! Thanks.

Powered by Google App Engine
This is Rietveld 408576698