| 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 14 matching lines...) Expand all Loading... |
| 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 // 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 |
| 32 // (crbug.com/385030). | 32 // (crbug.com/385030). |
| 33 #if defined(IOSSIM_USE_XCODE_6) | 33 #if defined(IOSSIM_USE_XCODE_6) |
| 34 @protocol SimBridge; | 34 @protocol SimBridge; |
| 35 @class DVTSimulatorApplication; |
| 35 @class SimDeviceSet; | 36 @class SimDeviceSet; |
| 36 @class SimDeviceType; | 37 @class SimDeviceType; |
| 37 @class SimRuntime; | 38 @class SimRuntime; |
| 38 @class SimServiceConnectionManager; | 39 @class SimServiceConnectionManager; |
| 39 #import "CoreSimulator.h" | 40 #import "CoreSimulator.h" |
| 40 #endif // IOSSIM_USE_XCODE_6 | 41 #endif // IOSSIM_USE_XCODE_6 |
| 41 | 42 |
| 42 @interface DVTPlatform : NSObject | 43 @interface DVTPlatform : NSObject |
| 43 + (BOOL)loadAllPlatformsReturningError:(id*)arg1; | 44 + (BOOL)loadAllPlatformsReturningError:(id*)arg1; |
| 44 @end | 45 @end |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 [error localizedDescription], | 1017 [error localizedDescription], |
| 1017 [error domain], static_cast<long int>([error code])); | 1018 [error domain], static_cast<long int>([error code])); |
| 1018 } | 1019 } |
| 1019 | 1020 |
| 1020 // Note that this code is only executed if the simulator fails to start | 1021 // Note that this code is only executed if the simulator fails to start |
| 1021 // because once the main run loop is started, only the delegate calling | 1022 // because once the main run loop is started, only the delegate calling |
| 1022 // exit() will end the program. | 1023 // exit() will end the program. |
| 1023 [pool drain]; | 1024 [pool drain]; |
| 1024 return kExitFailure; | 1025 return kExitFailure; |
| 1025 } | 1026 } |
| OLD | NEW |