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

Issue 15200005: Grab bag of clang fixes for Windows code (Closed)

Created:
7 years, 7 months ago by Reid Kleckner
Modified:
7 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tfarina, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, mmenke
Visibility:
Public.

Description

Grab bag of clang fixes for Windows code These should hopefully be uncontroversial, so I'm sending them to Darin because he has global OWNERS approval on src/*. Let me know if you want to split this up and farm it out to individual components. R=darin@chromium.org CC=thakis@chromium.org BUG=82385 Fix some -Wdeprecated-writable-strings warnings for wide string literals. net/dns/dns_config_service_win_unittest.cc net/http/http_auth_sspi_win.cc net/http/http_auth_sspi_win.h ui/shell_dialogs/select_file_dialog_win_unittest.cc Use reinterpret_cast<> to convert from void * to a function pointer. chrome/browser/policy/policy_loader_win.cc content/browser/gamepad/gamepad_platform_data_fetcher_win.cc Remove "public" from a typedef. It's not clear that that really means. chrome/browser/enumerate_modules_model_unittest_win.cc Escape an unescaped backslash in a wide string iteral to prevent it from being interpreted as a unicode literal ("\uXXX"). chrome/browser/storage_monitor/test_portable_device_watcher_win.cc Use base::UTF8ToUTF16() over ATL::CA2W() and avoid an unnecessary c_str(). Clang can't convert from CA2WEX<> to string16. chrome/browser/ui/views/external_tab_container_win.cc Fix a -Wenum-compare warning when asserting that two enum values are equal. sandbox/win/src/policy_params.h Don't define va_copy for clang. It provides one in <stdarg.h>. third_party/leveldatabase/port/port_chromium.h Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200814

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : fix ptr and cast style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -23 lines) Patch
M chrome/browser/enumerate_modules_model_unittest_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_loader_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/storage_monitor/test_portable_device_watcher_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/external_tab_container_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gamepad/gamepad_platform_data_fetcher_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/dns/dns_config_service_win_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_auth_sspi_win.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_auth_sspi_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/win/src/policy_params.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/leveldatabase/port/port_chromium.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/shell_dialogs/select_file_dialog_win_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Reid Kleckner
7 years, 7 months ago (2013-05-16 19:50:11 UTC) #1
darin (slow to review)
LGTM
7 years, 7 months ago (2013-05-16 20:06:54 UTC) #2
mmenke
https://codereview.chromium.org/15200005/diff/4001/net/dns/dns_config_service_win_unittest.cc File net/dns/dns_config_service_win_unittest.cc (right): https://codereview.chromium.org/15200005/diff/4001/net/dns/dns_config_service_win_unittest.cc#newcode55 net/dns/dns_config_service_win_unittest.cc:55: const WCHAR *dns_suffix; Per Google style guide, this should ...
7 years, 7 months ago (2013-05-16 21:58:45 UTC) #3
Reid Kleckner
Fixed comments. Thanks for the review, committing.
7 years, 7 months ago (2013-05-16 23:01:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/15200005/10001
7 years, 7 months ago (2013-05-16 23:01:23 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=149957
7 years, 7 months ago (2013-05-17 01:46:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/15200005/10001
7 years, 7 months ago (2013-05-17 12:13:27 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 14:01:19 UTC) #8
Message was sent while issue was closed.
Change committed as 200814

Powered by Google App Engine
This is Rietveld 408576698