summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/chrome_frame_test_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/chrome_frame_test_utils.cc')
-rw-r--r--chrome_frame/test/chrome_frame_test_utils.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc
index 85ecc5b..17f4483 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -672,4 +672,12 @@ bool KillProcesses(const std::wstring& executable_name, int exit_code,
return result;
}
+ScopedChromeFrameRegistrar::RegistrationType GetTestBedType() {
+ if (GetConfigBool(false, L"PerUserTestBed")) {
+ return ScopedChromeFrameRegistrar::PER_USER;
+ } else {
+ return ScopedChromeFrameRegistrar::SYSTEM_LEVEL;
+ }
+}
+
} // namespace chrome_frame_test