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

Issue 10824166: Cleaned up usage of std::wstring in src/remoting. Added presubmit warning supressions for the reman… (Closed)

Created:
8 years, 4 months ago by alexeypa (please no reviews)
Modified:
8 years, 4 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Cleaned up usage of std::wstring in src/remoting. Added presubmit warning supressions for the remaning instances because they depend on hard-to-change public APIs. BUG=133003 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150224

Patch Set 1 #

Patch Set 2 : Removing an unused header. #

Patch Set 3 : string16 is not in std. #

Total comments: 18

Patch Set 4 : CR feedback #

Total comments: 14

Patch Set 5 : CustomInfoEntry should point to a static buffer. #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -56 lines) Patch
M PRESUBMIT.py View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M remoting/base/breakpad_win.cc View 1 2 3 4 1 chunk +7 lines, -6 lines 0 comments Download
M remoting/host/host_event_logger_win.cc View 6 chunks +15 lines, -15 lines 0 comments Download
M remoting/host/plugin/daemon_installer_win.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M remoting/host/policy_hack/policy_watcher_win.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/host/usage_stats_consent_win.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/host/win/host_service.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/host/win/host_service.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M remoting/host/win/launch_process_with_token.h View 2 chunks +2 lines, -1 line 0 comments Download
M remoting/host/win/launch_process_with_token.cc View 1 2 3 5 chunks +14 lines, -11 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.cc View 7 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
alexeypa (please no reviews)
The last CL for 133003. Please take a look.
8 years, 4 months ago (2012-08-03 17:52:19 UTC) #1
Wez
https://chromiumcodereview.appspot.com/10824166/diff/6001/PRESUBMIT.py File PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/10824166/diff/6001/PRESUBMIT.py#newcode295 PRESUBMIT.py:295: supressed = False typo: suppressed I'd suggest calling this ...
8 years, 4 months ago (2012-08-03 21:26:15 UTC) #2
alexeypa (please no reviews)
http://codereview.chromium.org/10824166/diff/6001/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/10824166/diff/6001/PRESUBMIT.py#newcode295 PRESUBMIT.py:295: supressed = False On 2012/08/03 21:26:15, Wez wrote: > ...
8 years, 4 months ago (2012-08-03 22:00:18 UTC) #3
Wez
LGTM but I think we should avoid using the "Wide" string conversion routines, and types, ...
8 years, 4 months ago (2012-08-06 17:29:38 UTC) #4
alexeypa (please no reviews)
http://codereview.chromium.org/10824166/diff/6001/remoting/host/host_event_logger_win.cc File remoting/host/host_event_logger_win.cc (right): http://codereview.chromium.org/10824166/diff/6001/remoting/host/host_event_logger_win.cc#newcode118 remoting/host/host_event_logger_win.cc:118: raw_strings[i] = utf16_strings[i].c_str(); > Right; but there seems to ...
8 years, 4 months ago (2012-08-06 17:56:18 UTC) #5
Wez
I've highlighted the bits where we're still using "wide" conversions; I think it should be ...
8 years, 4 months ago (2012-08-06 18:33:18 UTC) #6
Wez
LGTM http://codereview.chromium.org/10824166/diff/6001/remoting/host/win/launch_process_with_token.cc File remoting/host/win/launch_process_with_token.cc (right): http://codereview.chromium.org/10824166/diff/6001/remoting/host/win/launch_process_with_token.cc#newcode80 remoting/host/win/launch_process_with_token.cc:80: pipe_name = UTF8ToUTF16( On 2012/08/06 17:56:18, alexeypa wrote: ...
8 years, 4 months ago (2012-08-06 18:41:20 UTC) #7
alexeypa (please no reviews)
> I've highlighted the bits where we're still using "wide" conversions; I think it should ...
8 years, 4 months ago (2012-08-06 19:31:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10824166/12007
8 years, 4 months ago (2012-08-06 20:41:26 UTC) #9
commit-bot: I haz the power
Try job failure for 10824166-12007 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-06 22:36:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10824166/12007
8 years, 4 months ago (2012-08-06 22:47:38 UTC) #11
commit-bot: I haz the power
Try job failure for 10824166-12007 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-06 23:19:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10824166/12007
8 years, 4 months ago (2012-08-06 23:23:58 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 01:33:00 UTC) #14
Change committed as 150224

Powered by Google App Engine
This is Rietveld 408576698