From ec8f51164d477d8d83726fe61c68977d17b03149 Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Tue, 8 Feb 2011 04:20:40 +0000 Subject: Cleanup: * Change int to size_t in a few APIs. * Rename infobar_delegate_count() to infobar_count() in preparation for TabContents owning InfoBars rather than InfoBarDelegates. * Move some code from PluginInstallerInfoBarDelegate to PluginObserver since it's more related to who's instantiating the infobar(delegate)s. * Unify InfoBarDelegate behavior by making no delegates auto-add themselves to tabs (callers now all do this explicitly). * Eliminate unused member TabContentsSSLHelper::SSLAddCertData::handler_. * De-inline a couple classes. * Make more functions private. * Add some consts. * Change DCHECK() to DCHECK_EQ() where possible. * Rename the delegates in plugin_observer.cc to have "Delegate" in the names. * Remove unnecessary qualifiers. * Simplify. * Misc. style issues, naming issues, etc. BUG=none TEST=none Review URL: http://codereview.chromium.org/6250172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74086 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/google/google_url_tracker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/google') diff --git a/chrome/browser/google/google_url_tracker.h b/chrome/browser/google/google_url_tracker.h index e12ee00..5edc75a 100644 --- a/chrome/browser/google/google_url_tracker.h +++ b/chrome/browser/google/google_url_tracker.h @@ -171,7 +171,7 @@ class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate { GoogleURLTracker* google_url_tracker, const GURL& new_google_url); - // ConfirmInfoBarDelegate + // ConfirmInfoBarDelegate: virtual bool Accept(); virtual bool Cancel(); virtual void InfoBarClosed(); @@ -183,7 +183,7 @@ class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate { const GURL new_google_url_; private: - // ConfirmInfoBarDelegate + // ConfirmInfoBarDelegate: virtual string16 GetMessageText() const; virtual string16 GetButtonLabel(InfoBarButton button) const; -- cgit v1.1