DescriptionSplit the existing GoogleURLTrackerInfoBarDelegate into two classes by adding a MapEntry class. The MapEntry represents all the metadata about a pending search. This means that the infobar delegate itself can now be created only when it's going to actually be added to a tab, just like other infobars. This is necessary for some cleanup I'm doing to infobar calling conventions and ownership.
This also makes each individual class simpler than the old unified class.
There are some other miscellaneous changes in here, like switching the test code magic numbers from int to intptr_t (safer for portability).
BUG=none
TEST=none
TBR=sky
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=162298
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 27
Patch Set 4 : #
Total comments: 4
Patch Set 5 : #Patch Set 6 : #
Messages
Total messages: 8 (0 generated)
|