summaryrefslogtreecommitdiffstats
path: root/components/browser_watcher/exit_code_watcher_win_unittest.cc
diff options
context:
space:
mode:
authorsiggi <siggi@chromium.org>2014-11-21 13:55:45 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-21 21:56:22 +0000
commit5e62f7e775c0a4cd5e5686e51c29e42e748cbeb7 (patch)
tree66eb5c83a59cc0e047f8390ad9c0976847bb02a9 /components/browser_watcher/exit_code_watcher_win_unittest.cc
parentfcdbc18c93053642b3cb8b143e6b2bf7f521dedb (diff)
downloadchromium_src-5e62f7e775c0a4cd5e5686e51c29e42e748cbeb7.zip
chromium_src-5e62f7e775c0a4cd5e5686e51c29e42e748cbeb7.tar.gz
chromium_src-5e62f7e775c0a4cd5e5686e51c29e42e748cbeb7.tar.bz2
Build the chrome_watcher.dll binary, spawn the watcher process and glue in the metrics provider.
This will add a new process to each chrome process tree, the --type="watcher". This process type will load the chrome_watcher.dll, whose sole purpose in life (for now) is to wait for the browser to exit, and to record its exit code in registry. Ultimately the OOP crash handler will move out of Omaha, and end up co-habitating this process and the chrome_watcher.dll. BUG=412384 Review URL: https://codereview.chromium.org/741743002 Cr-Commit-Position: refs/heads/master@{#305293}
Diffstat (limited to 'components/browser_watcher/exit_code_watcher_win_unittest.cc')
-rw-r--r--components/browser_watcher/exit_code_watcher_win_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
index 407635d..cd85f86 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -6,6 +6,7 @@
#include "base/command_line.h"
#include "base/process/kill.h"
+#include "base/strings/string16.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/synchronization/waitable_event.h"
@@ -21,7 +22,7 @@ namespace browser_watcher {
namespace {
-const wchar_t kRegistryPath[] = L"Software\\BrowserWatcherTest";
+const base::char16 kRegistryPath[] = L"Software\\BrowserWatcherTest";
MULTIPROCESS_TEST_MAIN(Sleeper) {
// Sleep forever - the test harness will kill this process to give it an