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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_test_helper.mm

Issue 6574011: Cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/ui/cocoa/infobars/infobar_test_helper.mm
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_test_helper.mm (revision 75777)
+++ chrome/browser/ui/cocoa/infobars/infobar_test_helper.mm (working copy)
@@ -9,7 +9,7 @@
// MockLinkInfoBarDelegate ----------------------------------------------------
-const char MockLinkInfoBarDelegate::kMessage[] = "MockLinkInfoBarMessage";
+const char MockLinkInfoBarDelegate::kMessage[] = "MockLinkInfoBarMessage ";
const char MockLinkInfoBarDelegate::kLink[] = "http://dev.chromium.org";
MockLinkInfoBarDelegate::MockLinkInfoBarDelegate()
@@ -37,6 +37,7 @@
string16 MockLinkInfoBarDelegate::GetMessageTextWithOffset(
size_t* link_offset) const {
message_text_accessed_ = true;
+ *link_offset = arraysize(kMessage) - 1;
return ASCIIToUTF16(kMessage);
}
« no previous file with comments | « chrome/browser/tab_contents/infobar_delegate.cc ('k') | chrome/browser/ui/views/infobars/after_translate_infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698