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

Side by Side Diff: chrome/browser/win/chrome_process_finder.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/win/chrome_process_finder.h" 5 #include "chrome/browser/win/chrome_process_finder.h"
6 6
7 #include <shellapi.h> 7 #include <shellapi.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/process/process.h" 14 #include "base/process/process.h"
15 #include "base/process/process_info.h" 15 #include "base/process/process_info.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
19 #include "base/win/message_window.h" 18 #include "base/win/message_window.h"
20 #include "base/win/scoped_handle.h" 19 #include "base/win/scoped_handle.h"
21 #include "base/win/win_util.h" 20 #include "base/win/win_util.h"
22 #include "base/win/windows_version.h" 21 #include "base/win/windows_version.h"
23 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
24 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
25 24
26 25
27 namespace { 26 namespace {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 87 }
89 88
90 base::TimeDelta SetNotificationTimeoutForTesting(base::TimeDelta new_timeout) { 89 base::TimeDelta SetNotificationTimeoutForTesting(base::TimeDelta new_timeout) {
91 base::TimeDelta old_timeout = 90 base::TimeDelta old_timeout =
92 base::TimeDelta::FromMilliseconds(timeout_in_milliseconds); 91 base::TimeDelta::FromMilliseconds(timeout_in_milliseconds);
93 timeout_in_milliseconds = new_timeout.InMilliseconds(); 92 timeout_in_milliseconds = new_timeout.InMilliseconds();
94 return old_timeout; 93 return old_timeout;
95 } 94 }
96 95
97 } // namespace chrome 96 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698