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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc

Issue 105493002: Use base namespace for string16 in chrome/renderer. (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
Index: chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc b/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc
index 22413de80a68de7636b86cc2b479c12f5da1ad84..4acb12962c0657ba57e2a74a51c0f4413f0fec4c 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc
@@ -103,7 +103,7 @@ class PhishingClassifierTest : public InProcessBrowserTest {
// Helper method to start phishing classification and wait for it to
// complete. Returns the true if the page is classified as phishy and
// false otherwise.
- bool RunPhishingClassifier(const string16* page_text,
+ bool RunPhishingClassifier(const base::string16* page_text,
float* phishy_score,
FeatureMap* features) {
ClientPhishingRequest verdict;
@@ -115,7 +115,7 @@ class PhishingClassifierTest : public InProcessBrowserTest {
return verdict.is_phishing();
}
- void DoRunPhishingClassifier(const string16* page_text,
+ void DoRunPhishingClassifier(const base::string16* page_text,
float* phishy_score,
FeatureMap* features,
ClientPhishingRequest* verdict) {
@@ -218,7 +218,7 @@ IN_PROC_BROWSER_TEST_F(PhishingClassifierTest, MAYBE_TestClassification) {
EXPECT_CALL(*clock_, Now())
.WillRepeatedly(::testing::Return(base::TimeTicks::Now()));
- string16 page_text = ASCIIToUTF16("login");
+ base::string16 page_text = ASCIIToUTF16("login");
float phishy_score;
FeatureMap features;
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_classifier.cc ('k') | chrome/renderer/safe_browsing/phishing_classifier_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698