Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(999)

Side by Side Diff: chrome/browser/process_singleton_win.cc

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/process_singleton.h" 5 #include "chrome/browser/process_singleton.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 27 matching lines...) Expand all
38 #include "chrome/installer/util/util_constants.h" 38 #include "chrome/installer/util/util_constants.h"
39 #include "chrome/installer/util/wmi.h" 39 #include "chrome/installer/util/wmi.h"
40 #include "components/version_info/version_info.h" 40 #include "components/version_info/version_info.h"
41 #include "content/public/common/result_codes.h" 41 #include "content/public/common/result_codes.h"
42 #include "net/base/escape.h" 42 #include "net/base/escape.h"
43 #include "third_party/kasko/kasko_features.h" 43 #include "third_party/kasko/kasko_features.h"
44 #include "ui/base/l10n/l10n_util.h" 44 #include "ui/base/l10n/l10n_util.h"
45 #include "ui/gfx/win/hwnd_util.h" 45 #include "ui/gfx/win/hwnd_util.h"
46 46
47 #if BUILDFLAG(ENABLE_KASKO_FAILED_RDV_REPORTS) 47 #if BUILDFLAG(ENABLE_KASKO_FAILED_RDV_REPORTS)
48 #include "chrome/app/chrome_crash_reporter_client.h" 48 #include "chrome/app/chrome_crash_reporter_client_win.h"
49 #include "chrome/chrome_watcher/kasko_util.h" 49 #include "chrome/chrome_watcher/kasko_util.h"
50 #endif // BUILDFLAG(ENABLE_KASKO_FAILED_RDV_REPORTS) 50 #endif // BUILDFLAG(ENABLE_KASKO_FAILED_RDV_REPORTS)
51 51
52 namespace { 52 namespace {
53 53
54 const char kLockfile[] = "lockfile"; 54 const char kLockfile[] = "lockfile";
55 55
56 // A helper class that acquires the given |mutex| while the AutoLockMutex is in 56 // A helper class that acquires the given |mutex| while the AutoLockMutex is in
57 // scope. 57 // scope.
58 class AutoLockMutex { 58 class AutoLockMutex {
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 return window_.hwnd() != NULL; 433 return window_.hwnd() != NULL;
434 } 434 }
435 435
436 void ProcessSingleton::Cleanup() { 436 void ProcessSingleton::Cleanup() {
437 } 437 }
438 438
439 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting( 439 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting(
440 const ShouldKillRemoteProcessCallback& display_dialog_callback) { 440 const ShouldKillRemoteProcessCallback& display_dialog_callback) {
441 should_kill_remote_process_callback_ = display_dialog_callback; 441 should_kill_remote_process_callback_ = display_dialog_callback;
442 } 442 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698