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

Side by Side Diff: base/process_util_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « base/native_library_win.cc ('k') | base/string16_unittest.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #define _CRT_SECURE_NO_WARNINGS 5 #define _CRT_SECURE_NO_WARNINGS
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/eintr_wrapper.h" 10 #include "base/eintr_wrapper.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/multiprocess_test.h" 12 #include "base/multiprocess_test.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/platform_thread.h" 14 #include "base/platform_thread.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
17 #include "base/utf_string_conversions.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 #if defined(OS_LINUX) 20 #if defined(OS_LINUX)
20 #include <errno.h> 21 #include <errno.h>
21 #include <malloc.h> 22 #include <malloc.h>
22 #include <glib.h> 23 #include <glib.h>
23 #endif 24 #endif
24 #if defined(OS_POSIX) 25 #if defined(OS_POSIX)
25 #include <dlfcn.h> 26 #include <dlfcn.h>
26 #include <fcntl.h> 27 #include <fcntl.h>
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 720
720 TEST_F(OutOfMemoryTest, PsychoticallyBigObjCObject) { 721 TEST_F(OutOfMemoryTest, PsychoticallyBigObjCObject) {
721 ASSERT_DEATH(while ((value_ = 722 ASSERT_DEATH(while ((value_ =
722 base::AllocatePsychoticallyBigObjCObject())) {}, ""); 723 base::AllocatePsychoticallyBigObjCObject())) {}, "");
723 } 724 }
724 725
725 #endif // !ARCH_CPU_64_BITS 726 #endif // !ARCH_CPU_64_BITS
726 #endif // OS_MACOSX 727 #endif // OS_MACOSX
727 728
728 #endif // !defined(OS_WIN) 729 #endif // !defined(OS_WIN)
OLDNEW
« no previous file with comments | « base/native_library_win.cc ('k') | base/string16_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698