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

Side by Side Diff: components/search_engines/util.h

Issue 2479113002: Make extensions DSE persistent in browser prefs (Closed)
Patch Set: Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SEARCH_ENGINES_UTIL_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_UTIL_H_
6 #define COMPONENTS_SEARCH_ENGINES_UTIL_H_ 6 #define COMPONENTS_SEARCH_ENGINES_UTIL_H_
7 7
8 // This file contains utility functions for search engine functionality. 8 // This file contains utility functions for search engine functionality.
9 9
10 #include <memory> 10 #include <memory>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const std::vector<std::unique_ptr<TemplateURLData>>& prepopulated_urls, 132 const std::vector<std::unique_ptr<TemplateURLData>>& prepopulated_urls,
133 TemplateURL* default_search_provider, 133 TemplateURL* default_search_provider,
134 TemplateURLService::OwnedTemplateURLVector* template_urls, 134 TemplateURLService::OwnedTemplateURLVector* template_urls,
135 const SearchTermsData& search_terms_data, 135 const SearchTermsData& search_terms_data,
136 std::set<std::string>* removed_keyword_guids); 136 std::set<std::string>* removed_keyword_guids);
137 137
138 TemplateURLService::OwnedTemplateURLVector::iterator FindTemplateURL( 138 TemplateURLService::OwnedTemplateURLVector::iterator FindTemplateURL(
139 TemplateURLService::OwnedTemplateURLVector* urls, 139 TemplateURLService::OwnedTemplateURLVector* urls,
140 const TemplateURL* url); 140 const TemplateURL* url);
141 141
142 std::unique_ptr<TemplateURLData> TemplateUrlDataFromDictionary(
143 const base::DictionaryValue& dict);
144
145 std::unique_ptr<base::DictionaryValue> TemplateUrlDataToDictionary(
146 const TemplateURLData& turl_data);
147
142 #endif // COMPONENTS_SEARCH_ENGINES_UTIL_H_ 148 #endif // COMPONENTS_SEARCH_ENGINES_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698