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

Unified Diff: chrome/common/chrome_content_client_unittest.cc

Issue 1608133002: Are bots running unknown? (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client_unittest.cc
diff --git a/chrome/common/chrome_content_client_unittest.cc b/chrome/common/chrome_content_client_unittest.cc
index b2e31d0884ea1456ba7475af5e5619e8ab7850e5..10c231a60c496715d52cd7d8cbbb2bfcc915f0e0 100644
--- a/chrome/common/chrome_content_client_unittest.cc
+++ b/chrome/common/chrome_content_client_unittest.cc
@@ -10,6 +10,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_split.h"
#include "build/build_config.h"
+#include "chrome/common/channel_info.h"
+#include "components/version_info/version_info.h"
#include "content/public/common/content_switches.h"
#include "extensions/common/constants.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -175,4 +177,10 @@ TEST(ChromeContentClientTest, AdditionalSchemes) {
origin.Serialize());
}
+TEST(ChromeContentClientTest, ChromeChannel) {
+ version_info::Channel channel = chrome::GetChannel();
+
+ EXPECT_EQ(channel, version_info::Channel::UNKNOWN);
+}
+
} // namespace chrome_common
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698