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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 13219005: Replace string16 with base::string16 in src/webkit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: webkit/tools/test_shell/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 8895e4f7d03eb0af9a9a74f5babb5d4ea63f6eec..dab36d5cabe14c943cc8a33bffdb9e831a7d2649 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -415,7 +415,7 @@ void TestShell::Show(WebNavigationPolicy policy) {
delegate_->show(policy);
}
-void TestShell::DumpBackForwardEntry(int index, string16* result) {
+void TestShell::DumpBackForwardEntry(int index, base::string16* result) {
int current_index = navigation_controller_->GetLastCommittedEntryIndex();
std::string content_state =
@@ -429,7 +429,7 @@ void TestShell::DumpBackForwardEntry(int index, string16* result) {
webkit_glue::DumpHistoryState(content_state, 8, index == current_index));
}
-void TestShell::DumpBackForwardList(string16* result) {
+void TestShell::DumpBackForwardList(base::string16* result) {
result->append(ASCIIToUTF16(
"\n============== Back Forward List ==============\n"));
@@ -503,11 +503,11 @@ void TestShell::ResetTestController() {
}
void TestShell::LoadFile(const base::FilePath& file) {
- LoadURLForFrame(net::FilePathToFileURL(file), string16());
+ LoadURLForFrame(net::FilePathToFileURL(file), base::string16());
}
void TestShell::LoadURL(const GURL& url) {
- LoadURLForFrame(url, string16());
+ LoadURLForFrame(url, base::string16());
}
bool TestShell::Navigate(const TestNavigationEntry& entry, bool reload) {
@@ -578,7 +578,7 @@ void TestShell::DumpRenderTree() {
file_util::WriteFile(file_path, data.c_str(), data.length());
}
-string16 TestShell::GetDocumentText() {
+base::string16 TestShell::GetDocumentText() {
return webkit_glue::DumpDocumentText(webView()->mainFrame());
}

Powered by Google App Engine
This is Rietveld 408576698