Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete.h |
| diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h |
| index ee73d692f52a2acae2e83a714c0be39391f7ce70..e7306dfe518681c27ee5bbe04dee2b328ace4b49 100644 |
| --- a/chrome/browser/autocomplete/autocomplete.h |
| +++ b/chrome/browser/autocomplete/autocomplete.h |
| @@ -600,12 +600,14 @@ class AutocompleteController : public ACProviderListener { |
| AutocompleteController(Profile* profile, |
| AutocompleteControllerDelegate* delegate); |
| #ifdef UNIT_TEST |
| - explicit AutocompleteController(const ACProviders& providers) |
| + explicit AutocompleteController(const ACProviders& providers, |
|
sky
2011/07/12 00:37:50
no explicit
sreeram
2011/07/12 03:36:18
Good catch! Will do in the next patch.
|
| + Profile* profile) |
| : delegate_(NULL), |
| providers_(providers), |
| search_provider_(NULL), |
| done_(true), |
| - in_start_(false) { |
| + in_start_(false), |
| + profile_(profile) { |
| } |
| #endif |
| ~AutocompleteController(); |
| @@ -717,6 +719,8 @@ class AutocompleteController : public ACProviderListener { |
| // notifications until Start() has been invoked on all providers. |
| bool in_start_; |
| + Profile* profile_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AutocompleteController); |
| }; |