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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « content/public/test/browser_test_utils.h ('k') | content/public/test/fake_speech_recognition_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 3894421cd49f358e412b9d227f0e50fc2ec8eb3e..5a873273b35b13f73bfbea96508baa4587d85c5a 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -539,21 +539,21 @@ bool SetCookie(BrowserContext* browser_context,
}
TitleWatcher::TitleWatcher(WebContents* web_contents,
- const string16& expected_title)
+ const base::string16& expected_title)
: WebContentsObserver(web_contents),
message_loop_runner_(new MessageLoopRunner) {
EXPECT_TRUE(web_contents != NULL);
expected_titles_.push_back(expected_title);
}
-void TitleWatcher::AlsoWaitForTitle(const string16& expected_title) {
+void TitleWatcher::AlsoWaitForTitle(const base::string16& expected_title) {
expected_titles_.push_back(expected_title);
}
TitleWatcher::~TitleWatcher() {
}
-const string16& TitleWatcher::WaitAndGetTitle() {
+const base::string16& TitleWatcher::WaitAndGetTitle() {
message_loop_runner_->Run();
return observed_title_;
}
@@ -571,7 +571,7 @@ void TitleWatcher::TitleWasSet(NavigationEntry* entry, bool explicit_set) {
}
void TitleWatcher::TestTitle() {
- std::vector<string16>::const_iterator it =
+ std::vector<base::string16>::const_iterator it =
std::find(expected_titles_.begin(),
expected_titles_.end(),
web_contents()->GetTitle());
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/public/test/fake_speech_recognition_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698