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

Issue 10826188: Sharing shell_util_unittest code to verify shortcuts (Closed)

Created:
8 years, 4 months ago by Halli
Modified:
8 years, 4 months ago
Reviewers:
gab
CC:
chromium-reviews, grt+watch_chromium.org, Gab Royer, rpetterson, robertshield
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Sharing shell_util_unittest code to verify shortcuts for creation of profile shortcuts for Windows. profile_manager_unittest needs to be able to verify shortcuts created as well. BUG=NONE TEST=installer_util_unittests --gtest_filter=ShellUtilTest* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151091

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Total comments: 20

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 14

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -114 lines) Patch
M chrome/installer/util/shell_util.h View 1 2 3 4 5 6 7 8 9 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 1 2 3 4 5 6 7 8 15 chunks +45 lines, -114 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Halli
http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.h File chrome/installer/util/shell_util.h (right): http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.h#newcode446 chrome/installer/util/shell_util.h:446: // |icon_index| in master prefs I got presubmit warnings ...
8 years, 4 months ago (2012-08-07 17:16:52 UTC) #1
Halli
8 years, 4 months ago (2012-08-07 18:22:36 UTC) #2
gab
@robertshield: Please see @ comment for you below :)! ---------- I'm sure there is a ...
8 years, 4 months ago (2012-08-07 19:18:25 UTC) #3
Halli
http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc#newcode1687 chrome/installer/util/shell_util.cc:1687: base::win::ScopedComPtr<IShellLink> i_shell_link; On 2012/08/07 19:18:25, gab wrote: > #include ...
8 years, 4 months ago (2012-08-07 20:52:15 UTC) #4
gab
More comments, thanks for the string16 fixes :)! Cheers, Gab http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc#newcode1687 ...
8 years, 4 months ago (2012-08-08 16:24:26 UTC) #5
gab
One more comment below! Also, I forgot to say this in my last comment: when ...
8 years, 4 months ago (2012-08-08 17:01:24 UTC) #6
Halli
http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/1/chrome/installer/util/shell_util.cc#newcode1687 chrome/installer/util/shell_util.cc:1687: base::win::ScopedComPtr<IShellLink> i_shell_link; Line 34 (: On 2012/08/08 16:24:26, gab ...
8 years, 4 months ago (2012-08-08 18:59:13 UTC) #7
gab
[robertshield -> cc] Comment on main comment. http://codereview.chromium.org/10826188/diff/6001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/6001/chrome/installer/util/shell_util.cc#newcode1777 chrome/installer/util/shell_util.cc:1777: if (((FAILED(i_shell_link->GetIconLocation(icon_path, ...
8 years, 4 months ago (2012-08-08 19:17:08 UTC) #8
gab
FYI, ref: lint error in shell_util.cc, in general reitveld lint sucks at end-of-file new line ...
8 years, 4 months ago (2012-08-08 19:21:57 UTC) #9
Halli
http://codereview.chromium.org/10826188/diff/6001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/6001/chrome/installer/util/shell_util.cc#newcode1777 chrome/installer/util/shell_util.cc:1777: if (((FAILED(i_shell_link->GetIconLocation(icon_path, MAX_PATH, Hopefully this is what you meant ...
8 years, 4 months ago (2012-08-08 20:28:09 UTC) #10
gab
See comments below. Cheers! Gab http://codereview.chromium.org/10826188/diff/12004/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/12004/chrome/installer/util/shell_util.cc#newcode1690 chrome/installer/util/shell_util.cc:1690: if (FAILED(i_shell_link->GetPath(file_path, MAX_PATH, NULL, ...
8 years, 4 months ago (2012-08-08 20:41:14 UTC) #11
Halli
http://codereview.chromium.org/10826188/diff/12004/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/12004/chrome/installer/util/shell_util.cc#newcode1690 chrome/installer/util/shell_util.cc:1690: if (FAILED(i_shell_link->GetPath(file_path, MAX_PATH, NULL, On 2012/08/08 20:41:14, gab wrote: ...
8 years, 4 months ago (2012-08-08 21:06:20 UTC) #12
gab
looks great! a couple more comments and you're good to go :) Looking at your ...
8 years, 4 months ago (2012-08-09 02:52:31 UTC) #13
gab
On 2012/08/09 02:52:31, gab wrote: > looks great! a couple more comments and you're good ...
8 years, 4 months ago (2012-08-09 02:55:14 UTC) #14
Halli
Right now we are just using it for testing profile shortcuts. Since the original function ...
8 years, 4 months ago (2012-08-09 16:07:57 UTC) #15
gab
Ok, given this is only for test: ideally it would be in a test_support target. ...
8 years, 4 months ago (2012-08-09 19:25:56 UTC) #16
Halli
http://codereview.chromium.org/10826188/diff/7008/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10826188/diff/7008/chrome/installer/util/shell_util.cc#newcode1687 chrome/installer/util/shell_util.cc:1687: On 2012/08/09 19:25:57, gab wrote: > nit: no empty ...
8 years, 4 months ago (2012-08-09 20:49:59 UTC) #17
gab
LGTM (with a single nit below), thanks for baring with me! Cheers, Gab http://codereview.chromium.org/10826188/diff/4012/chrome/installer/util/shell_util.h File ...
8 years, 4 months ago (2012-08-10 13:45:59 UTC) #18
Halli
http://codereview.chromium.org/10826188/diff/4012/chrome/installer/util/shell_util.h File chrome/installer/util/shell_util.h (right): http://codereview.chromium.org/10826188/diff/4012/chrome/installer/util/shell_util.h#newcode43 chrome/installer/util/shell_util.h:43: VERIFY_SHORTCUT_FAILURE_ICON_INDEX On 2012/08/10 13:46:00, gab wrote: > nit: add ...
8 years, 4 months ago (2012-08-10 16:48:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hallielaine@chromium.org/10826188/11004
8 years, 4 months ago (2012-08-10 16:48:37 UTC) #20
commit-bot: I haz the power
8 years, 4 months ago (2012-08-10 18:24:54 UTC) #21
Change committed as 151091

Powered by Google App Engine
This is Rietveld 408576698