OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ | 5 #ifndef CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ |
6 #define CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ | 6 #define CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #ifdef __OBJC__ | 9 #ifdef __OBJC__ |
10 | 10 |
11 #import "content/common/chrome_application_mac.h" | 11 #import <AppKit/AppKit.h> |
12 | 12 |
13 // Top level Mac Application for the service process. | 13 // Top level Mac Application for the service process. |
14 @interface ServiceCrApplication : CrApplication | 14 @interface ServiceApplication : NSApplication |
15 | 15 |
16 @end | 16 @end |
17 | 17 |
18 #endif // __OBJC__ | 18 #endif // __OBJC__ |
19 | 19 |
20 namespace chrome_service_application_mac { | 20 namespace chrome_service_application_mac { |
21 | 21 |
22 // To be used to instantiate ServiceCrApplication from C++ code. | 22 // To be used to instantiate ServiceApplication from C++ code. |
23 void RegisterServiceCrApp(); | 23 void RegisterServiceApp(); |
| 24 |
24 } // namespace chrome_service_application_mac | 25 } // namespace chrome_service_application_mac |
25 | 26 |
26 #endif // CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ | 27 #endif // CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ |
27 | |
OLD | NEW |