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 | |
8 | 7 |
9 #ifdef __OBJC__ | 8 #ifdef __OBJC__ |
10 | 9 |
11 #import <AppKit/AppKit.h> | 10 #import <AppKit/AppKit.h> |
12 | 11 |
13 // Top level Mac Application for the service process. | 12 // Top level Mac Application for the service process. |
14 @interface ServiceApplication : NSApplication | 13 @interface ServiceApplication : NSApplication |
15 | 14 |
16 @end | 15 @end |
17 | 16 |
18 #endif // __OBJC__ | 17 #endif // __OBJC__ |
19 | 18 |
20 namespace chrome_service_application_mac { | 19 namespace chrome_service_application_mac { |
21 | 20 |
22 // To be used to instantiate ServiceApplication from C++ code. | 21 // To be used to instantiate ServiceApplication from C++ code. |
23 void RegisterServiceApp(); | 22 void RegisterServiceApp(); |
24 | 23 |
25 } // namespace chrome_service_application_mac | 24 } // namespace chrome_service_application_mac |
26 | 25 |
27 #endif // CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ | 26 #endif // CHROME_SERVICE_CHROME_SERVICE_APPLICATION_MAC_H_ |
OLD | NEW |