Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Side by Side Diff: components/omnibox/browser/mock_autocomplete_provider_client.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/omnibox/browser/keyword_provider_unittest.cc ('k') | components/omnibox/browser/omnibox_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698