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

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
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher_callbacks.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_fetcher_unittest.cc
===================================================================
--- chrome/browser/search_engines/template_url_fetcher_unittest.cc (revision 104959)
+++ 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) OVERRIDE;
+ virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
+ Profile* profile) OVERRIDE;
private:
TemplateURLFetcherTest* test_;
@@ -47,7 +45,7 @@
public:
TemplateURLFetcherTest();
- virtual void SetUp() {
+ virtual void SetUp() OVERRIDE {
test_util_.SetUp();
test_util_.StartIOThread();
ASSERT_TRUE(test_util_.profile());
@@ -59,7 +57,7 @@
ASSERT_TRUE(test_server_.Start());
}
- virtual void TearDown() {
+ virtual void TearDown() OVERRIDE {
test_util_.TearDown();
}
@@ -68,12 +66,9 @@
// 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);
+ void ConfirmSetDefaultSearchProvider(TemplateURL* template_url,
+ Profile* profile);
+ void ConfirmAddSearchProvider(TemplateURL* template_url, Profile* profile);
protected:
// Schedules the download of the url.
@@ -114,8 +109,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 +137,7 @@
void TemplateURLFetcherTest::ConfirmSetDefaultSearchProvider(
TemplateURL* template_url,
- TemplateURLService* template_url_service) {
+ Profile* profile) {
last_callback_template_url_.reset(template_url);
set_default_called_++;
}
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher_callbacks.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698