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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 <shellapi.h> 7 #include <shellapi.h>
8 #include <stddef.h>
8 9
9 #include "base/base_paths.h" 10 #include "base/base_paths.h"
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/command_line.h" 12 #include "base/command_line.h"
12 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h"
13 #include "base/process/process.h" 15 #include "base/process/process.h"
14 #include "base/process/process_info.h" 16 #include "base/process/process_info.h"
15 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
18 #include "base/time/time.h" 20 #include "base/time/time.h"
19 #include "base/win/metro.h" 21 #include "base/win/metro.h"
20 #include "base/win/registry.h" 22 #include "base/win/registry.h"
21 #include "base/win/scoped_handle.h" 23 #include "base/win/scoped_handle.h"
22 #include "base/win/windows_version.h" 24 #include "base/win/windows_version.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 return window_.hwnd() != NULL; 434 return window_.hwnd() != NULL;
433 } 435 }
434 436
435 void ProcessSingleton::Cleanup() { 437 void ProcessSingleton::Cleanup() {
436 } 438 }
437 439
438 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting( 440 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting(
439 const ShouldKillRemoteProcessCallback& display_dialog_callback) { 441 const ShouldKillRemoteProcessCallback& display_dialog_callback) {
440 should_kill_remote_process_callback_ = display_dialog_callback; 442 should_kill_remote_process_callback_ = display_dialog_callback;
441 } 443 }
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_startup_lock.h ('k') | chrome/browser/process_singleton_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698