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

Side by Side Diff: chrome/test/mini_installer_test/mini_installer_test_util.cc

Issue 6317016: Change UTF8ToUTF16 to accept const StringPiece&. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/localized_error.cc ('k') | chrome_frame/test_utils.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm>
6
5 #include "chrome/test/mini_installer_test/mini_installer_test_util.h" 7 #include "chrome/test/mini_installer_test/mini_installer_test_util.h"
6 8
7 #include "base/file_path.h" 9 #include "base/file_path.h"
8 #include "base/file_util.h" 10 #include "base/file_util.h"
9 #include "base/path_service.h" 11 #include "base/path_service.h"
10 #include "base/process_util.h" 12 #include "base/process_util.h"
11 #include "base/string_util.h" 13 #include "base/string_util.h"
12 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
13 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
14 #include "base/time.h" 16 #include "base/time.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 } 303 }
302 return true; 304 return true;
303 } 305 }
304 306
305 bool MiniInstallerTestUtil::VerifyProcessHandleClosed( 307 bool MiniInstallerTestUtil::VerifyProcessHandleClosed(
306 base::ProcessHandle handle) { 308 base::ProcessHandle handle) {
307 DWORD result = WaitForSingleObject(handle, 309 DWORD result = WaitForSingleObject(handle,
308 TestTimeouts::large_test_timeout_ms()); 310 TestTimeouts::large_test_timeout_ms());
309 return result == WAIT_OBJECT_0; 311 return result == WAIT_OBJECT_0;
310 } 312 }
OLDNEW
« no previous file with comments | « chrome/renderer/localized_error.cc ('k') | chrome_frame/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698