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

Side by Side Diff: chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.h

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_
6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_ 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/search_engines/template_url_fetcher_callbacks.h" 10 #include "chrome/browser/search_engines/template_url_fetcher_callbacks.h"
11 #include "content/common/notification_observer.h" 11 #include "content/common/notification_observer.h"
12 #include "content/common/notification_registrar.h" 12 #include "content/common/notification_registrar.h"
13 13
14 class SearchEngineTabHelper; 14 class SearchEngineTabHelper;
15 class TabContents; 15 class TabContents;
16 16
17 // Callbacks which display UI for the TemplateURLFetcher. 17 // Callbacks which display UI for the TemplateURLFetcher.
18 class TemplateURLFetcherUICallbacks : public TemplateURLFetcherCallbacks, 18 class TemplateURLFetcherUICallbacks : public TemplateURLFetcherCallbacks,
19 public NotificationObserver { 19 public NotificationObserver {
20 public: 20 public:
21 explicit TemplateURLFetcherUICallbacks(SearchEngineTabHelper* tab_helper, 21 TemplateURLFetcherUICallbacks(SearchEngineTabHelper* tab_helper,
22 TabContents* tab_contents); 22 TabContents* tab_contents);
23 virtual ~TemplateURLFetcherUICallbacks(); 23 virtual ~TemplateURLFetcherUICallbacks();
24 24
25 // TemplateURLFetcherCallback implementation. 25 // TemplateURLFetcherCallback implementation.
26 virtual void ConfirmSetDefaultSearchProvider( 26 virtual void ConfirmSetDefaultSearchProvider(
27 TemplateURL* template_url, 27 TemplateURL* template_url,
28 TemplateURLService* template_url_service); 28 TemplateURLService* template_url_service);
29 virtual void ConfirmAddSearchProvider( 29 virtual void ConfirmAddSearchProvider(
30 TemplateURL* template_url, 30 TemplateURL* template_url,
31 Profile* profile); 31 Profile* profile);
32 32
(...skipping 10 matching lines...) Expand all
43 // The TabContents where this request originated. 43 // The TabContents where this request originated.
44 TabContents* tab_contents_; 44 TabContents* tab_contents_;
45 45
46 // Handles registering for our notifications. 46 // Handles registering for our notifications.
47 NotificationRegistrar registrar_; 47 NotificationRegistrar registrar_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcherUICallbacks); 49 DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcherUICallbacks);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_ 52 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_UI_CALLBACKS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/ui/search_engines/template_url_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698