summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/master_preferences_dummy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/master_preferences_dummy.cc')
-rw-r--r--chrome/installer/util/master_preferences_dummy.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/installer/util/master_preferences_dummy.cc b/chrome/installer/util/master_preferences_dummy.cc
index 9abd037..3e1fb81 100644
--- a/chrome/installer/util/master_preferences_dummy.cc
+++ b/chrome/installer/util/master_preferences_dummy.cc
@@ -20,7 +20,8 @@ namespace installer_util {
bool GetDistroBooleanPreference(const DictionaryValue* prefs,
const std::wstring& name,
bool* value) {
- NOTREACHED();
+ // This function is called by InstallUtil::IsChromeFrameProcess()
+ // We return false because GetInstallPreferences returns an empty value below.
return false;
}
@@ -32,8 +33,9 @@ bool GetDistroIntegerPreference(const DictionaryValue* prefs,
}
DictionaryValue* GetInstallPreferences(const CommandLine& cmd_line) {
- NOTREACHED();
- return NULL;
+ // This function is called by InstallUtil::IsChromeFrameProcess()
+ // so we cannot make it NOTREACHED()
+ return new DictionaryValue();;
}
DictionaryValue* ParseDistributionPreferences(