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

Issue 6106004: Added loading of nested BHO. (Closed)

Created:
9 years, 11 months ago by Vitaly Buka (NO REVIEWS)
Modified:
9 years, 7 months ago
CC:
ceee-reviews_chromium.org, chromium-reviews
Visibility:
Public.

Description

Added loading of nested BHO. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71377

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -1 line) Patch
M ceee/ie/plugin/bho/browser_helper_object.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ceee/ie/plugin/bho/browser_helper_object.cc View 1 2 5 chunks +34 lines, -1 line 0 comments Download
A ceee/ie/plugin/toolband/brand_specific_resources.rc View 1 chunk +10 lines, -0 lines 0 comments Download
M ceee/ie/plugin/toolband/resource.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ceee/ie/plugin/toolband/toolband.gyp View 1 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Vitaly Buka (NO REVIEWS)
please review this
9 years, 11 months ago (2011-01-12 23:35:46 UTC) #1
Jói
LGTM Very nice. One nit and one thing to potentially change - I'm not sure ...
9 years, 11 months ago (2011-01-13 01:22:11 UTC) #2
Vitaly Buka corp
http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_helper_object.cc File ceee/ie/plugin/bho/browser_helper_object.cc (right): http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_helper_object.cc#newcode189 ceee/ie/plugin/bho/browser_helper_object.cc:189: for (size_t i = 0; i < nested_bho_.size(); ++i) ...
9 years, 11 months ago (2011-01-13 01:46:17 UTC) #3
Jói
LGTM Sorry for the delay, had a bunch of meetings today. http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_helper_object.cc File ceee/ie/plugin/bho/browser_helper_object.cc (right): ...
9 years, 11 months ago (2011-01-13 19:18:03 UTC) #4
Sigurður Ásgeirsson
lgtm wit a couple of nits. http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_helper_object.cc File ceee/ie/plugin/bho/browser_helper_object.cc (right): http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_helper_object.cc#newcode189 ceee/ie/plugin/bho/browser_helper_object.cc:189: for (size_t i ...
9 years, 11 months ago (2011-01-13 19:34:14 UTC) #5
Vitaly Buka corp
9 years, 11 months ago (2011-01-13 21:06:45 UTC) #6
http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_help...
File ceee/ie/plugin/bho/browser_helper_object.cc (right):

http://codereview.chromium.org/6106004/diff/1/ceee/ie/plugin/bho/browser_help...
ceee/ie/plugin/bho/browser_helper_object.cc:189: for (size_t i = 0; i <
nested_bho_.size(); ++i) {
I guess this is not possible with IE, but classic one tries to handles this
correctly. However taking in account complexity of initialization and teardown I
have doubts that it will work :-).

Maybe I'll do this in special CL.

On 2011/01/13 19:34:15, Ruðrugis wrote:
> On 2011/01/13 01:46:17, Vitaly Buka corp wrote:
> > In common case we don't know how nested BHO handles duplicates.
> > 
> > But seems duplicates logic is not correct.
> > According to this duplicates are possible and we should release old site.
> > http://msdn.microsoft.com/en-us/library/aa768221%2528v=vs.85%2529.aspx
> > we need 
> 
> Interesting, you're quite right. I think I aped the logic from the classic
> toolbar, feel free to fix this if you like.

http://codereview.chromium.org/6106004/diff/11001/ceee/ie/plugin/bho/browser_...
ceee/ie/plugin/bho/browser_helper_object.cc:126:
LoadString(_pModule->m_hInstResource, IDS_CEEE_NESTED_BHO_LIST,
On 2011/01/13 19:34:15, Ruðrugis wrote:
> we like to ::-prefix Win32 api calls.

Done.

http://codereview.chromium.org/6106004/diff/11001/ceee/ie/plugin/bho/browser_...
ceee/ie/plugin/bho/browser_helper_object.cc:136: if
(SUCCEEDED(CLSIDFromString(guids[i].c_str(), &clsid)) &&
On 2011/01/13 19:34:15, Ruðrugis wrote:
> Log on error.

Done.

Powered by Google App Engine
This is Rietveld 408576698