OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ |
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ | 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h" | 10 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h" |
11 #include "chrome/browser/browser_process_platform_part_base.h" | 11 #include "chrome/browser/browser_process_platform_part_base.h" |
12 | 12 |
13 namespace apps { | 13 namespace apps { |
14 class ExtensionAppShimHandler; | 14 class ExtensionAppShimHandler; |
15 } | 15 } |
16 | 16 |
17 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase { | 17 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase { |
18 public: | 18 public: |
19 BrowserProcessPlatformPart(); | 19 BrowserProcessPlatformPart(); |
20 virtual ~BrowserProcessPlatformPart(); | 20 virtual ~BrowserProcessPlatformPart(); |
21 | 21 |
22 // Overridden from BrowserProcessPlatformPartBase: | 22 // Overridden from BrowserProcessPlatformPartBase: |
23 virtual void StartTearDown() OVERRIDE; | 23 virtual void StartTearDown() override; |
24 virtual void AttemptExit() OVERRIDE; | 24 virtual void AttemptExit() override; |
25 virtual void PreMainMessageLoopRun() OVERRIDE; | 25 virtual void PreMainMessageLoopRun() override; |
26 | 26 |
27 AppShimHostManager* app_shim_host_manager(); | 27 AppShimHostManager* app_shim_host_manager(); |
28 | 28 |
29 private: | 29 private: |
30 // Hosts the IPC channel factory that App Shims connect to on Mac. | 30 // Hosts the IPC channel factory that App Shims connect to on Mac. |
31 scoped_refptr<AppShimHostManager> app_shim_host_manager_; | 31 scoped_refptr<AppShimHostManager> app_shim_host_manager_; |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 33 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
34 }; | 34 }; |
35 | 35 |
36 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ | 36 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_ |
OLD | NEW |