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

Side by Side Diff: chrome/browser/template_url_prepopulate_data.h

Issue 18263: Move search engines files into subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_TEMPLATE_URL_PREPOPULATE_DATA_H__
6 #define CHROME_BROWSER_TEMPLATE_URL_PREPOPULATE_DATA_H__
7
8 #include <vector>
9
10 class PrefService;
11 class TemplateURL;
12
13 namespace TemplateURLPrepopulateData {
14
15 void RegisterUserPrefs(PrefService* prefs);
16
17 // Returns the current version of the prepopulate data, so callers can know when
18 // they need to re-merge.
19 int GetDataVersion();
20
21 // Loads the set of TemplateURLs from the prepopulate data. Ownership of the
22 // TemplateURLs is passed to the caller. On return,
23 // |default_search_provider_index| is set to the index of the default search
24 // provider.
25 void GetPrepopulatedEngines(PrefService* prefs,
26 std::vector<TemplateURL*>* t_urls,
27 size_t* default_search_provider_index);
28
29 } // namespace TemplateURLPrepopulateData
30
31 #endif // CHROME_BROWSER_TEMPLATE_URL_PREPOPULATE_DATA_H__
32
OLDNEW
« no previous file with comments | « chrome/browser/template_url_parser_unittest.cc ('k') | chrome/browser/template_url_prepopulate_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698