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

Unified Diff: chrome/browser/google/google_url_tracker_unittest.cc

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/google/google_url_tracker_unittest.cc
===================================================================
--- chrome/browser/google/google_url_tracker_unittest.cc (revision 72158)
+++ chrome/browser/google/google_url_tracker_unittest.cc (working copy)
@@ -60,15 +60,16 @@
public:
TestInfoBarDelegate(GoogleURLTracker* google_url_tracker,
const GURL& new_google_url);
- virtual ~TestInfoBarDelegate();
- // InfoBarDelegate
- virtual InfoBar* CreateInfoBar();
-
GoogleURLTracker* google_url_tracker() const { return google_url_tracker_; }
GURL new_google_url() const { return new_google_url_; }
private:
+ virtual ~TestInfoBarDelegate();
+
+ // InfoBarDelegate:
+ virtual InfoBar* CreateInfoBar();
+
GoogleURLTracker* google_url_tracker_;
GURL new_google_url_;
};
@@ -299,7 +300,7 @@
ASSERT_TRUE(infobar);
ASSERT_TRUE(infobar->google_url_tracker());
infobar->google_url_tracker()->InfoBarClosed();
- delete infobar;
+ delete g_browser_process->google_url_tracker()->infobar_;
}
void GoogleURLTrackerTest::ExpectDefaultURLs() {
« no previous file with comments | « chrome/browser/geolocation/geolocation_permission_context_unittest.cc ('k') | chrome/browser/notifications/balloon_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698