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

Side by Side Diff: chrome/app/chrome_watcher_command_line_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
« no previous file with comments | « no previous file | chrome/app/main_dll_loader_win.cc » ('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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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/app/chrome_watcher_command_line_win.h" 5 #include "chrome/app/chrome_watcher_command_line_win.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/stringprintf.h"
16 #include "base/win/win_util.h" 15 #include "base/win/win_util.h"
17 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
18 #include "content/public/common/content_switches.h" 17 #include "content/public/common/content_switches.h"
19 18
20 namespace { 19 namespace {
21 20
22 const char kMainThreadIdSwitch[] = "main-thread-id"; 21 const char kMainThreadIdSwitch[] = "main-thread-id";
23 const char kOnIninitializedEventHandleSwitch[] = "on-initialized-event-handle"; 22 const char kOnIninitializedEventHandleSwitch[] = "on-initialized-event-handle";
24 const char kParentHandleSwitch[] = "parent-handle"; 23 const char kParentHandleSwitch[] = "parent-handle";
25 24
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 !parent_process->IsValid()) { 209 !parent_process->IsValid()) {
211 // If one was valid and not the other, free the valid one. 210 // If one was valid and not the other, free the valid one.
212 on_initialized_event->Close(); 211 on_initialized_event->Close();
213 parent_process->Close(); 212 parent_process->Close();
214 *main_thread_id = 0; 213 *main_thread_id = 0;
215 return false; 214 return false;
216 } 215 }
217 216
218 return true; 217 return true;
219 } 218 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/main_dll_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698