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

Unified Diff: chrome/browser/browsing_data/browsing_data_helper_unittest.cc

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve a merge conflict. Created 6 years, 7 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/browsing_data/browsing_data_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_helper_unittest.cc
index 00d6a9aaf8fee9b23c62691a92d43a2dacb04b27..5e3dd801a1e7212aa4a476803c412d7645436e79 100644
--- a/chrome/browser/browsing_data/browsing_data_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_helper_unittest.cc
@@ -58,8 +58,8 @@ class BrowsingDataHelperTest : public testing::Test {
};
TEST_F(BrowsingDataHelperTest, WebSafeSchemesAreWebSafe) {
- EXPECT_TRUE(IsWebScheme(content::kHttpScheme));
- EXPECT_TRUE(IsWebScheme(content::kHttpsScheme));
+ EXPECT_TRUE(IsWebScheme(url::kHttpScheme));
+ EXPECT_TRUE(IsWebScheme(url::kHttpsScheme));
EXPECT_TRUE(IsWebScheme(content::kFtpScheme));
EXPECT_TRUE(IsWebScheme(content::kDataScheme));
EXPECT_TRUE(IsWebScheme("feed"));
@@ -81,8 +81,8 @@ TEST_F(BrowsingDataHelperTest, ChromeSchemesAreNotWebSafe) {
}
TEST_F(BrowsingDataHelperTest, WebSafeSchemesAreNotExtensions) {
- EXPECT_FALSE(IsExtensionScheme(content::kHttpScheme));
- EXPECT_FALSE(IsExtensionScheme(content::kHttpsScheme));
+ EXPECT_FALSE(IsExtensionScheme(url::kHttpScheme));
+ EXPECT_FALSE(IsExtensionScheme(url::kHttpsScheme));
EXPECT_FALSE(IsExtensionScheme(content::kFtpScheme));
EXPECT_FALSE(IsExtensionScheme(content::kDataScheme));
EXPECT_FALSE(IsExtensionScheme("feed"));
« no previous file with comments | « chrome/browser/autocomplete/zero_suggest_provider.cc ('k') | chrome/browser/browsing_data/cookies_tree_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698