| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // ====== New Architecture ===== | 5 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = | 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ | 7 // ============================================================================ |
| 8 | 8 |
| 9 #ifndef IOS_CHROME_APP_APP_DELEGATE_H_ | 9 #ifndef IOS_CLEAN_CHROME_APP_APP_DELEGATE_H_ |
| 10 #define IOS_CHROME_APP_APP_DELEGATE_H_ | 10 #define IOS_CLEAN_CHROME_APP_APP_DELEGATE_H_ |
| 11 | 11 |
| 12 #import <UIKit/UIKit.h> | 12 #import <UIKit/UIKit.h> |
| 13 | 13 |
| 14 // The main delegate of the application. | 14 // The main delegate of the application. |
| 15 // This class is intended solely to handle the numerous UIApplicationDelegate | 15 // This class is intended solely to handle the numerous UIApplicationDelegate |
| 16 // methods and route to other application objects as appropriate. While this | 16 // methods and route to other application objects as appropriate. While this |
| 17 // object does create and own other objects, including the ApplicationState | 17 // object does create and own other objects, including the ApplicationState |
| 18 // object, it shouldn't perform significant manipulation or configuration of | 18 // object, it shouldn't perform significant manipulation or configuration of |
| 19 // them. Nor should any of the method implementations in this class contain | 19 // them. Nor should any of the method implementations in this class contain |
| 20 // significant logic or any specific feature support; that should all be | 20 // significant logic or any specific feature support; that should all be |
| 21 // implemented in subsidiary objects this class makes use of. | 21 // implemented in subsidiary objects this class makes use of. |
| 22 @interface AppDelegate : NSObject<UIApplicationDelegate> | 22 @interface AppDelegate : NSObject<UIApplicationDelegate> |
| 23 // Do not add any public API to this class. Other code in Chrome shouldn't | 23 // Do not add any public API to this class. Other code in Chrome shouldn't |
| 24 // need to access instances of this class for any purpose. | 24 // need to access instances of this class for any purpose. |
| 25 @end | 25 @end |
| 26 | 26 |
| 27 #endif // IOS_CHROME_APP_APP_DELEGATE_H_ | 27 #endif // IOS_CLEAN_CHROME_APP_APP_DELEGATE_H_ |
| OLD | NEW |