summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_watcher/chrome_watcher_main_api.cc
blob: e8b29e162161388ff93dad1a719c5a9979fc49fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/chrome_watcher/chrome_watcher_main_api.h"
#include "base/strings/string_number_conversions.h"

const base::FilePath::CharType kChromeWatcherDll[] =
    FILE_PATH_LITERAL("chrome_watcher.dll");
const char kChromeWatcherDLLEntrypoint[] = "WatcherMain";
const base::FilePath::CharType kPermanentlyFailedReportsSubdir[] =
    L"Crash Reports Fallback";

base::string16 GetKaskoEndpoint(base::ProcessId client_process_id) {
  return L"chrome_kasko_" + base::UintToString16(client_process_id);
}