| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| 6 #define COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "components/omnibox/browser/autocomplete_provider_client.h" | 11 #include "components/omnibox/browser/autocomplete_provider_client.h" |
| 11 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" | 12 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" |
| 12 #include "components/search_engines/search_terms_data.h" | 13 #include "components/search_engines/search_terms_data.h" |
| 13 #include "components/search_engines/template_url_service.h" | 14 #include "components/search_engines/template_url_service.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 15 | 16 |
| 16 struct AutocompleteMatch; | 17 struct AutocompleteMatch; |
| 17 | 18 |
| 18 class MockAutocompleteProviderClient : public AutocompleteProviderClient { | 19 class MockAutocompleteProviderClient : public AutocompleteProviderClient { |
| 19 public: | 20 public: |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 template_url_service_ = service.Pass(); | 81 template_url_service_ = service.Pass(); |
| 81 } | 82 } |
| 82 | 83 |
| 83 private: | 84 private: |
| 84 scoped_ptr<TemplateURLService> template_url_service_; | 85 scoped_ptr<TemplateURLService> template_url_service_; |
| 85 | 86 |
| 86 DISALLOW_COPY_AND_ASSIGN(MockAutocompleteProviderClient); | 87 DISALLOW_COPY_AND_ASSIGN(MockAutocompleteProviderClient); |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 90 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| OLD | NEW |