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

Side by Side Diff: webkit/tools/test_shell/test_shell_platform_delegate_mac.mm

Issue 10536207: Remove layoutTestController from test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: really fix mac Created 8 years, 6 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 | « webkit/tools/test_shell/test_shell.gypi ('k') | webkit/tools/test_shell/test_shell_test.h » ('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) 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 // #include <Carbon/Carbon.h> 7 #include <Carbon/Carbon.h>
8 // #include <ApplicationServices/ApplicationServices.h> 8 // #include <ApplicationServices/ApplicationServices.h>
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <objc/objc-runtime.h> 10 #import <objc/objc-runtime.h>
11 #include <mach/task.h> 11 #include <mach/task.h>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/message_pump_mac.h" 15 #include "base/message_pump_mac.h"
16 #import "base/test/mock_chrome_application_mac.h" 16 #import "base/test/mock_chrome_application_mac.h"
17 #include "webkit/tools/test_shell/test_shell.h" 17 #include "webkit/tools/test_shell/test_shell.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // If we die during tests, we don't want to be spamming the user's crash 188 // If we die during tests, we don't want to be spamming the user's crash
189 // reporter. Set our exception port to null and add signal handlers. 189 // reporter. Set our exception port to null and add signal handlers.
190 // Both of these are necessary to avoid the crash reporter. Although, we do 190 // Both of these are necessary to avoid the crash reporter. Although, we do
191 // still seem to be missing some cases. 191 // still seem to be missing some cases.
192 if (!parsed_command_line.HasSwitch(test_shell::kGDB)) { 192 if (!parsed_command_line.HasSwitch(test_shell::kGDB)) {
193 task_set_exception_ports(mach_task_self(), EXC_MASK_ALL, MACH_PORT_NULL, 193 task_set_exception_ports(mach_task_self(), EXC_MASK_ALL, MACH_PORT_NULL,
194 EXCEPTION_DEFAULT, THREAD_STATE_NONE); 194 EXCEPTION_DEFAULT, THREAD_STATE_NONE);
195 } 195 }
196 } 196 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell.gypi ('k') | webkit/tools/test_shell/test_shell_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698