| OLD | NEW | 
|     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 <asl.h> |     5 #include <asl.h> | 
|     6 #import <Foundation/Foundation.h> |     6 #import <Foundation/Foundation.h> | 
|     7 #include <libgen.h> |     7 #include <libgen.h> | 
|     8 #include <stdarg.h> |     8 #include <stdarg.h> | 
|     9 #include <stdio.h> |     9 #include <stdio.h> | 
|    10  |    10  | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
|    21 // However, there are some forward declarations required to get things to |    21 // However, there are some forward declarations required to get things to | 
|    22 // compile. |    22 // compile. | 
|    23  |    23  | 
|    24 // TODO(lliabraa): Once all builders are on Xcode 6 this ifdef can be removed |    24 // TODO(lliabraa): Once all builders are on Xcode 6 this ifdef can be removed | 
|    25 // (crbug.com/385030). |    25 // (crbug.com/385030). | 
|    26 #if defined(IOSSIM_USE_XCODE_6) |    26 #if defined(IOSSIM_USE_XCODE_6) | 
|    27 @class DVTStackBacktrace; |    27 @class DVTStackBacktrace; | 
|    28 #import "DVTFoundation.h" |    28 #import "DVTFoundation.h" | 
|    29 #endif  // IOSSIM_USE_XCODE_6 |    29 #endif  // IOSSIM_USE_XCODE_6 | 
|    30  |    30  | 
|    31 @protocol OS_dispatch_queue |  | 
|    32 @end |  | 
|    33 @protocol OS_dispatch_source |  | 
|    34 @end |  | 
|    35 // TODO(lliabraa): Once all builders are on Xcode 6 this ifdef can be removed |    31 // TODO(lliabraa): Once all builders are on Xcode 6 this ifdef can be removed | 
|    36 // (crbug.com/385030). |    32 // (crbug.com/385030). | 
|    37 #if defined(IOSSIM_USE_XCODE_6) |    33 #if defined(IOSSIM_USE_XCODE_6) | 
|    38 @protocol OS_xpc_object |  | 
|    39 @end |  | 
|    40 @protocol SimBridge; |    34 @protocol SimBridge; | 
|    41 @class SimDeviceSet; |    35 @class SimDeviceSet; | 
|    42 @class SimDeviceType; |    36 @class SimDeviceType; | 
|    43 @class SimRuntime; |    37 @class SimRuntime; | 
|    44 @class SimServiceConnectionManager; |    38 @class SimServiceConnectionManager; | 
|    45 #import "CoreSimulator.h" |    39 #import "CoreSimulator.h" | 
|    46 #endif  // IOSSIM_USE_XCODE_6 |    40 #endif  // IOSSIM_USE_XCODE_6 | 
|    47  |    41  | 
|    48 @interface DVTPlatform : NSObject |    42 @interface DVTPlatform : NSObject | 
|    49 + (BOOL)loadAllPlatformsReturningError:(id*)arg1; |    43 + (BOOL)loadAllPlatformsReturningError:(id*)arg1; | 
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1022              [error localizedDescription], |  1016              [error localizedDescription], | 
|  1023              [error domain], static_cast<long int>([error code])); |  1017              [error domain], static_cast<long int>([error code])); | 
|  1024   } |  1018   } | 
|  1025  |  1019  | 
|  1026   // Note that this code is only executed if the simulator fails to start |  1020   // Note that this code is only executed if the simulator fails to start | 
|  1027   // because once the main run loop is started, only the delegate calling |  1021   // because once the main run loop is started, only the delegate calling | 
|  1028   // exit() will end the program. |  1022   // exit() will end the program. | 
|  1029   [pool drain]; |  1023   [pool drain]; | 
|  1030   return kExitFailure; |  1024   return kExitFailure; | 
|  1031 } |  1025 } | 
| OLD | NEW |