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

Unified Diff: chrome/utility/importer/firefox_importer_unittest_utils_mac.cc

Issue 94013004: Add base:: to string16s in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try again 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
Index: chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
diff --git a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
index 4b5bc871953bb5e80cceed18a61171dec8e0ec8d..6b2114970760f27db1f54b90b6ca343562401a89 100644
--- a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
+++ b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
@@ -87,7 +87,7 @@ class FFDecryptorServerChannelListener : public IPC::Listener {
base::MessageLoop::current()->Quit();
}
- void OnDecryptedTextResonse(const string16& decrypted_text) {
+ void OnDecryptedTextResonse(const base::string16& decrypted_text) {
DCHECK(!got_result);
result_string = decrypted_text;
got_result = true;
@@ -116,7 +116,7 @@ class FFDecryptorServerChannelListener : public IPC::Listener {
}
// Results of IPC calls.
- string16 result_string;
+ base::string16 result_string;
bool result_bool;
// True if IPC call succeeded and data in above variables is valid.
bool got_result;
@@ -206,14 +206,14 @@ bool FFUnitTestDecryptorProxy::DecryptorInit(const base::FilePath& dll_path,
return false;
}
-string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) {
+base::string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) {
channel_->Send(new Msg_Decrypt(crypt));
bool ok = WaitForClientResponse();
if (ok && listener_->got_result) {
listener_->got_result = false;
return listener_->result_string;
}
- return string16();
+ return base::string16();
}
//---------------------------- Child Process -----------------------
@@ -235,7 +235,7 @@ class FFDecryptorClientChannelListener : public IPC::Listener {
}
void OnDecrypt(std::string crypt) {
- string16 unencrypted_str = decryptor_.Decrypt(crypt);
+ base::string16 unencrypted_str = decryptor_.Decrypt(crypt);
sender_->Send(new Msg_Decryptor_Response(unencrypted_str));
}
« no previous file with comments | « chrome/utility/importer/firefox_importer_unittest_utils.h ('k') | chrome/utility/importer/ie_importer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698