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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 <windows.h> 7 #include <windows.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 10
11 #include "base/base_paths.h" 11 #include "base/base_paths.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
17 #include "base/process/process.h" 17 #include "base/process/process.h"
18 #include "base/process/process_info.h" 18 #include "base/process/process_info.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/strings/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
22 #include "base/time/time.h" 21 #include "base/time/time.h"
23 #include "base/win/registry.h" 22 #include "base/win/registry.h"
24 #include "base/win/scoped_handle.h" 23 #include "base/win/scoped_handle.h"
25 #include "base/win/windows_version.h" 24 #include "base/win/windows_version.h"
26 #include "chrome/browser/shell_integration.h" 25 #include "chrome/browser/shell_integration.h"
27 #include "chrome/browser/ui/simple_message_box.h" 26 #include "chrome/browser/ui/simple_message_box.h"
28 #include "chrome/browser/win/chrome_process_finder.h" 27 #include "chrome/browser/win/chrome_process_finder.h"
29 #include "chrome/common/chrome_constants.h" 28 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 return window_.hwnd() != NULL; 371 return window_.hwnd() != NULL;
373 } 372 }
374 373
375 void ProcessSingleton::Cleanup() { 374 void ProcessSingleton::Cleanup() {
376 } 375 }
377 376
378 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting( 377 void ProcessSingleton::OverrideShouldKillRemoteProcessCallbackForTesting(
379 const ShouldKillRemoteProcessCallback& display_dialog_callback) { 378 const ShouldKillRemoteProcessCallback& display_dialog_callback) {
380 should_kill_remote_process_callback_ = display_dialog_callback; 379 should_kill_remote_process_callback_ = display_dialog_callback;
381 } 380 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/privet_confirm_api_flow.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698