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

Side by Side Diff: ios/chrome/browser/autocomplete/autocomplete_provider_client_impl.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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 IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 5 #ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/omnibox/browser/autocomplete_provider_client.h" 9 #include "components/omnibox/browser/autocomplete_provider_client.h"
10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h" 10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h"
(...skipping 19 matching lines...) Expand all
30 history::HistoryService* GetHistoryService() override; 30 history::HistoryService* GetHistoryService() override;
31 scoped_refptr<history::TopSites> GetTopSites() override; 31 scoped_refptr<history::TopSites> GetTopSites() override;
32 bookmarks::BookmarkModel* GetBookmarkModel() override; 32 bookmarks::BookmarkModel* GetBookmarkModel() override;
33 history::URLDatabase* GetInMemoryDatabase() override; 33 history::URLDatabase* GetInMemoryDatabase() override;
34 InMemoryURLIndex* GetInMemoryURLIndex() override; 34 InMemoryURLIndex* GetInMemoryURLIndex() override;
35 TemplateURLService* GetTemplateURLService() override; 35 TemplateURLService* GetTemplateURLService() override;
36 const TemplateURLService* GetTemplateURLService() const override; 36 const TemplateURLService* GetTemplateURLService() const override;
37 const SearchTermsData& GetSearchTermsData() const override; 37 const SearchTermsData& GetSearchTermsData() const override;
38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; 38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override;
39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; 39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override;
40 scoped_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( 40 std::unique_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate(
41 KeywordProvider* keyword_provider) override; 41 KeywordProvider* keyword_provider) override;
42 std::string GetAcceptLanguages() const override; 42 std::string GetAcceptLanguages() const override;
43 std::string GetEmbedderRepresentationOfAboutScheme() override; 43 std::string GetEmbedderRepresentationOfAboutScheme() override;
44 std::vector<base::string16> GetBuiltinURLs() override; 44 std::vector<base::string16> GetBuiltinURLs() override;
45 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; 45 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override;
46 bool IsOffTheRecord() const override; 46 bool IsOffTheRecord() const override;
47 bool SearchSuggestEnabled() const override; 47 bool SearchSuggestEnabled() const override;
48 bool TabSyncEnabledAndUnencrypted() const override; 48 bool TabSyncEnabledAndUnencrypted() const override;
49 void Classify( 49 void Classify(
50 const base::string16& text, 50 const base::string16& text,
(...skipping 11 matching lines...) Expand all
62 62
63 private: 63 private:
64 ios::ChromeBrowserState* browser_state_; 64 ios::ChromeBrowserState* browser_state_;
65 AutocompleteSchemeClassifierImpl scheme_classifier_; 65 AutocompleteSchemeClassifierImpl scheme_classifier_;
66 ios::UIThreadSearchTermsData search_terms_data_; 66 ios::UIThreadSearchTermsData search_terms_data_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl); 68 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl);
69 }; 69 };
70 70
71 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 71 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698