Chromium Code Reviews| Index: chrome/browser/autocomplete/search_provider.h |
| diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h |
| index 03de46fdb073de429df041677314984ea9ea91da..65b4274106ac1cc955a4a098f8f8fad433c45f63 100644 |
| --- a/chrome/browser/autocomplete/search_provider.h |
| +++ b/chrome/browser/autocomplete/search_provider.h |
| @@ -28,6 +28,7 @@ |
| #include "chrome/common/instant_types.h" |
| #include "net/url_request/url_fetcher_delegate.h" |
| +class SearchProviderTest; |
| class Profile; |
| class TemplateURLService; |
| @@ -91,6 +92,7 @@ class SearchProvider : public AutocompleteProvider, |
| static const int kKeywordProviderURLFetcherID; |
| private: |
| + friend class SearchProviderTest; |
| FRIEND_TEST_ALL_PREFIXES(SearchProviderTest, SuggestRelevanceExperiment); |
| FRIEND_TEST_ALL_PREFIXES(SearchProviderTest, NavigationInline); |
| FRIEND_TEST_ALL_PREFIXES(SearchProviderTest, NavigationInlineSchemeSubstring); |
| @@ -464,6 +466,10 @@ class SearchProvider : public AutocompleteProvider, |
| // session. |
| bool field_trial_triggered_in_session_; |
| + // The amount of time to wait before sending a new suggest request after |
| + // the previous one. |
| + static int kMinimumTimeBetweenSuggestQueriesMs; |
|
msw
2013/04/03 21:46:08
static class members should be listed after struct
Mark P
2013/04/03 22:51:40
Moved higher. Is the new location where you want
|
| + |
| DISALLOW_COPY_AND_ASSIGN(SearchProvider); |
| }; |