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

Unified Diff: chrome/common/extensions/features/chrome_channel_feature_filter.cc

Issue 563923004: Move most extension feature unit tests to extensions_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/common/extensions/features/chrome_channel_feature_filter.cc
diff --git a/chrome/common/extensions/features/chrome_channel_feature_filter.cc b/chrome/common/extensions/features/chrome_channel_feature_filter.cc
index abbec90ff89209670130831f4a1693026a959bd1..cbdc0ed33326d68bd2eeef14c1935f6f58cd9f88 100644
--- a/chrome/common/extensions/features/chrome_channel_feature_filter.cc
+++ b/chrome/common/extensions/features/chrome_channel_feature_filter.cc
@@ -5,6 +5,7 @@
#include "chrome/common/extensions/features/chrome_channel_feature_filter.h"
#include <map>
+#include <string>
#include "base/lazy_instance.h"
#include "base/strings/stringprintf.h"
@@ -53,7 +54,10 @@ chrome::VersionInfo::Channel GetChannelValue(const std::string& name) {
} // namespace
ChromeChannelFeatureFilter::ChromeChannelFeatureFilter(SimpleFeature* feature)
- : SimpleFeatureFilter(feature), channel_has_been_set_(false) {}
+ : SimpleFeatureFilter(feature),
+ channel_has_been_set_(false),
+ channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {
James Cook 2014/09/11 23:32:31 My editor found an uninitialized variable -- not t
+}
ChromeChannelFeatureFilter::~ChromeChannelFeatureFilter() {}

Powered by Google App Engine
This is Rietveld 408576698