OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ | |
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ | |
7 | |
8 class Profile; | |
9 class TemplateURL; | |
10 | |
11 // Callbacks for the TemplateURLFetcher. | |
12 class TemplateURLFetcherCallbacks { | |
13 public: | |
14 TemplateURLFetcherCallbacks() {} | |
15 virtual ~TemplateURLFetcherCallbacks() {} | |
16 | |
17 // Performs the confirmation step for adding a search engine described by | |
18 // |template_url|. Takes ownership of |template_url|. | |
19 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | |
20 Profile* profile) = 0; | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ | |
OLD | NEW |