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

Side by Side Diff: content/browser/browser_child_process_host_impl.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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 "content/browser/browser_child_process_host_impl.h" 5 #include "content/browser/browser_child_process_host_impl.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 base::ProcessHandle BrowserChildProcessHostImpl::GetHandle() const { 186 base::ProcessHandle BrowserChildProcessHostImpl::GetHandle() const {
187 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 187 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
188 DCHECK(child_process_.get()) 188 DCHECK(child_process_.get())
189 << "Requesting a child process handle before launching."; 189 << "Requesting a child process handle before launching.";
190 DCHECK(child_process_->GetHandle()) 190 DCHECK(child_process_->GetHandle())
191 << "Requesting a child process handle before launch has completed OK."; 191 << "Requesting a child process handle before launch has completed OK.";
192 return child_process_->GetHandle(); 192 return child_process_->GetHandle();
193 } 193 }
194 194
195 void BrowserChildProcessHostImpl::SetName(const string16& name) { 195 void BrowserChildProcessHostImpl::SetName(const base::string16& name) {
196 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 196 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
197 data_.name = name; 197 data_.name = name;
198 } 198 }
199 199
200 void BrowserChildProcessHostImpl::SetHandle(base::ProcessHandle handle) { 200 void BrowserChildProcessHostImpl::SetHandle(base::ProcessHandle handle) {
201 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 201 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
202 data_.handle = handle; 202 data_.handle = handle;
203 } 203 }
204 204
205 void BrowserChildProcessHostImpl::ForceShutdown() { 205 void BrowserChildProcessHostImpl::ForceShutdown() {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 352
353 void BrowserChildProcessHostImpl::OnProcessExitedEarly( 353 void BrowserChildProcessHostImpl::OnProcessExitedEarly(
354 base::WaitableEvent* event) { 354 base::WaitableEvent* event) {
355 DeleteProcessWaitableEvent(event); 355 DeleteProcessWaitableEvent(event);
356 OnChildDisconnected(); 356 OnChildDisconnected();
357 } 357 }
358 358
359 #endif 359 #endif
360 360
361 } // namespace content 361 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698