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

Issue 371753002: Installer refactoring: using string16 instead of wstring for GoogleUpdateSettings. (Closed)

Created:
6 years, 5 months ago by huangs
Modified:
6 years, 5 months ago
Reviewers:
gab, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Installer refactoring: using string16 instead of wstring for GoogleUpdateSettings. BUG=297647 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281740

Patch Set 1 #

Total comments: 2

Patch Set 2 : Sync (to fix unrelated issue). #

Patch Set 3 : Fixing #include. #

Patch Set 4 : Updating callers to use string16 to interface with GoogleUpdateSettings. #

Total comments: 9

Patch Set 5 : Using the proper UTF16 conversion routines; variable renaming. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -80 lines) Patch
M chrome/installer/gcapi/gcapi.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_update_settings.h View 4 chunks +11 lines, -11 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 2 3 4 16 chunks +28 lines, -30 lines 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 1 16 chunks +38 lines, -36 lines 0 comments Download
M chrome/installer/util/language_selector.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
huangs
Ping gab@.
6 years, 5 months ago (2014-07-07 17:20:02 UTC) #1
gab
On 2014/07/07 17:20:02, huangs1 wrote: > Ping gab@. ping as an initial request?! :-) Also ...
6 years, 5 months ago (2014-07-07 18:46:43 UTC) #2
gab
https://codereview.chromium.org/371753002/diff/1/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/371753002/diff/1/chrome/installer/util/google_update_settings.cc#newcode8 chrome/installer/util/google_update_settings.cc:8: #include <string> rm include already in header.
6 years, 5 months ago (2014-07-07 18:47:49 UTC) #3
huangs
Oops forgot to Mail Comments again... Updated; used code search to look at every uses ...
6 years, 5 months ago (2014-07-07 19:29:24 UTC) #4
gab
lgtm, thanks!
6 years, 5 months ago (2014-07-07 20:43:58 UTC) #5
huangs
Thanks! Committing.
6 years, 5 months ago (2014-07-07 20:49:23 UTC) #6
huangs
The CQ bit was checked by huangs@chromium.org
6 years, 5 months ago (2014-07-07 20:49:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/371753002/60001
6 years, 5 months ago (2014-07-07 20:50:12 UTC) #8
gab
Another thing I spotted while playing in this code (unchecking CQ, sorry about not seeing ...
6 years, 5 months ago (2014-07-07 21:41:14 UTC) #9
gab
The CQ bit was unchecked by gab@chromium.org
6 years, 5 months ago (2014-07-07 21:41:17 UTC) #10
grt (UTC plus 2)
two nits. otherwise, lgtm. https://codereview.chromium.org/371753002/diff/60001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/371753002/diff/60001/chrome/installer/util/google_update_settings.cc#newcode300 chrome/installer/util/google_update_settings.cc:300: base::string16 metrics_id_w; _w -> 16 ...
6 years, 5 months ago (2014-07-07 22:48:39 UTC) #11
grt (UTC plus 2)
On 2014/07/07 22:48:39, grt wrote: > two nits. otherwise, lgtm. modulo Gab's comments, of course.
6 years, 5 months ago (2014-07-07 22:49:09 UTC) #12
huangs
Updated. Attempting submit again! https://codereview.chromium.org/371753002/diff/60001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (left): https://codereview.chromium.org/371753002/diff/60001/chrome/installer/util/google_update_settings.cc#oldcode309 chrome/installer/util/google_update_settings.cc:309: std::wstring metrics_id_w = base::UTF8ToWide(metrics_id); On ...
6 years, 5 months ago (2014-07-08 00:02:19 UTC) #13
huangs
The CQ bit was checked by huangs@chromium.org
6 years, 5 months ago (2014-07-08 00:02:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/371753002/80001
6 years, 5 months ago (2014-07-08 00:04:15 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 02:53:17 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-08 03:17:24 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/90507)
6 years, 5 months ago (2014-07-08 03:17:25 UTC) #18
huangs
The CQ bit was checked by huangs@chromium.org
6 years, 5 months ago (2014-07-08 13:09:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/371753002/80001
6 years, 5 months ago (2014-07-08 13:10:30 UTC) #20
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 13:59:48 UTC) #21
Message was sent while issue was closed.
Change committed as 281740

Powered by Google App Engine
This is Rietveld 408576698