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

Unified Diff: chrome/browser/search_engines/template_url_fetcher_unittest.cc

Issue 8221027: Make views::Label and views::Link auto-color themselves to be readable over their background colo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_fetcher_unittest.cc
===================================================================
--- chrome/browser/search_engines/template_url_fetcher_unittest.cc (revision 104769)
+++ chrome/browser/search_engines/template_url_fetcher_unittest.cc (working copy)
@@ -29,12 +29,10 @@
virtual ~TemplateURLFetcherTestCallbacks();
// TemplateURLFetcherCallbacks implementation.
- virtual void ConfirmSetDefaultSearchProvider(
- TemplateURL* template_url,
- TemplateURLService* template_url_service);
- virtual void ConfirmAddSearchProvider(
- TemplateURL* template_url,
- Profile* profile);
+ virtual void ConfirmSetDefaultSearchProvider(TemplateURL* template_url,
+ Profile* profile);
sky 2011/10/11 14:54:10 Since you're touching this code, how about adding
+ virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
+ Profile* profile);
private:
TemplateURLFetcherTest* test_;
@@ -68,12 +66,10 @@
// TemplateURLFetcherCallbacks implementation. (Although not derived from
// this class, these methods handle those calls for the test.)
- virtual void ConfirmSetDefaultSearchProvider(
- TemplateURL* template_url,
- TemplateURLService* template_url_service);
- virtual void ConfirmAddSearchProvider(
- TemplateURL* template_url,
- Profile* profile);
+ virtual void ConfirmSetDefaultSearchProvider(TemplateURL* template_url,
+ Profile* profile);
+ virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
+ Profile* profile);
protected:
// Schedules the download of the url.
@@ -114,8 +110,8 @@
void TemplateURLFetcherTestCallbacks::ConfirmSetDefaultSearchProvider(
TemplateURL* template_url,
- TemplateURLService* template_url_service) {
- test_->ConfirmSetDefaultSearchProvider(template_url, template_url_service);
+ Profile* profile) {
+ test_->ConfirmSetDefaultSearchProvider(template_url, profile);
}
void TemplateURLFetcherTestCallbacks::ConfirmAddSearchProvider(
@@ -142,7 +138,7 @@
void TemplateURLFetcherTest::ConfirmSetDefaultSearchProvider(
TemplateURL* template_url,
- TemplateURLService* template_url_service) {
+ Profile* profile) {
last_callback_template_url_.reset(template_url);
set_default_called_++;
}

Powered by Google App Engine
This is Rietveld 408576698