DescriptionFactor out logic to determine whether the default search engine or its base URL has changed
For the implementation of crbug.com/674389 we need to be able to detect when
the default search engine changes, or when base URL of the default search
engine changes. It turns out that we basically track the same changes for
instant search. This CL factors out that common logic into a reusable class
which can listen for those changes.
The existing GoogleURLTracker class only tracks base URL changes when Google
is the default search engine, but not base URL changes that occur as a result
of the default search engine itself changing. This class notifies the listener
of both types of changes.
BUG=674389
Patch Set 1 #
Total comments: 12
Patch Set 2 : . #Patch Set 3 : Factor out logic to determine whether the default search engine or its base URL has changed #Patch Set 4 : Factor out logic to determine whether the default search engine or its base URL has changed #
Messages
Total messages: 18 (3 generated)
|