Add an UMA stat to be able to see if the User pods are show on start screen,
[chromium-blink-merge.git] / chrome / chrome_watcher / chrome_watcher_main_api.cc
blobe8b29e162161388ff93dad1a719c5a9979fc49fc
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/chrome_watcher/chrome_watcher_main_api.h"
6 #include "base/strings/string_number_conversions.h"
8 const base::FilePath::CharType kChromeWatcherDll[] =
9 FILE_PATH_LITERAL("chrome_watcher.dll");
10 const char kChromeWatcherDLLEntrypoint[] = "WatcherMain";
11 const base::FilePath::CharType kPermanentlyFailedReportsSubdir[] =
12 L"Crash Reports Fallback";
14 base::string16 GetKaskoEndpoint(base::ProcessId client_process_id) {
15 return L"chrome_kasko_" + base::UintToString16(client_process_id);