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

Side by Side Diff: chrome/browser/search_engines/template_url_fetcher_callbacks.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
7 #pragma once
8 7
9 class Profile; 8 class Profile;
10 class TemplateURL; 9 class TemplateURL;
11 10
12 // Callbacks for the TemplateURLFetcher. 11 // Callbacks for the TemplateURLFetcher.
13 class TemplateURLFetcherCallbacks { 12 class TemplateURLFetcherCallbacks {
14 public: 13 public:
15 TemplateURLFetcherCallbacks() {} 14 TemplateURLFetcherCallbacks() {}
16 virtual ~TemplateURLFetcherCallbacks() {} 15 virtual ~TemplateURLFetcherCallbacks() {}
17 16
18 // Performs the confirmation step for adding a search engine described by 17 // Performs the confirmation step for adding a search engine described by
19 // |template_url|. Takes ownership of |template_url|. 18 // |template_url|. Takes ownership of |template_url|.
20 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, 19 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
21 Profile* profile) = 0; 20 Profile* profile) = 0;
22 }; 21 };
23 22
24 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 23 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher.h ('k') | chrome/browser/search_engines/template_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698