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

Unified Diff: chrome/browser/chrome_content_browser_client_unittest.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) Created 5 years, 5 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/chrome_content_browser_client_unittest.cc
diff --git a/chrome/browser/chrome_content_browser_client_unittest.cc b/chrome/browser/chrome_content_browser_client_unittest.cc
index a7ace27543e4485bebb33b7f24cddcee5a75336e..f674326baa38ce34f770e2cff4b14305d6b05bc3 100644
--- a/chrome/browser/chrome_content_browser_client_unittest.cc
+++ b/chrome/browser/chrome_content_browser_client_unittest.cc
@@ -103,7 +103,7 @@ class DisableWebRtcEncryptionFlagTest : public testing::Test {
from_command_line_.AppendSwitch(switches::kDisableWebRtcEncryption);
}
- void MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::Channel channel) {
+ void MaybeCopyDisableWebRtcEncryptionSwitch(version_info::Channel channel) {
ChromeContentBrowserClient::MaybeCopyDisableWebRtcEncryptionSwitch(
&to_command_line_,
from_command_line_,
@@ -117,22 +117,22 @@ class DisableWebRtcEncryptionFlagTest : public testing::Test {
};
TEST_F(DisableWebRtcEncryptionFlagTest, UnknownChannel) {
- MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_UNKNOWN);
+ MaybeCopyDisableWebRtcEncryptionSwitch(version_info::CHANNEL_UNKNOWN);
EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption));
}
TEST_F(DisableWebRtcEncryptionFlagTest, CanaryChannel) {
- MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_CANARY);
+ MaybeCopyDisableWebRtcEncryptionSwitch(version_info::CHANNEL_CANARY);
EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption));
}
TEST_F(DisableWebRtcEncryptionFlagTest, DevChannel) {
- MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_DEV);
+ MaybeCopyDisableWebRtcEncryptionSwitch(version_info::CHANNEL_DEV);
EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption));
}
TEST_F(DisableWebRtcEncryptionFlagTest, BetaChannel) {
- MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_BETA);
+ MaybeCopyDisableWebRtcEncryptionSwitch(version_info::CHANNEL_BETA);
#if defined(OS_ANDROID)
EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption));
#else
@@ -141,7 +141,7 @@ TEST_F(DisableWebRtcEncryptionFlagTest, BetaChannel) {
}
TEST_F(DisableWebRtcEncryptionFlagTest, StableChannel) {
- MaybeCopyDisableWebRtcEncryptionSwitch(VersionInfo::CHANNEL_STABLE);
+ MaybeCopyDisableWebRtcEncryptionSwitch(version_info::CHANNEL_STABLE);
EXPECT_FALSE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption));
}

Powered by Google App Engine
This is Rietveld 408576698