blob: d78ee990bab2172f3e673a8da5b1a603e4c3f778 [file] [log] [blame]
[email protected]612d3bf2013-05-22 10:10:461// 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
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_
6#define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_
7
8#include "base/compiler_specific.h"
[email protected]90a4b9d2013-07-31 12:14:409#include "base/memory/scoped_ptr.h"
tapted63829f72014-09-24 23:50:5010#include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h"
[email protected]612d3bf2013-05-22 10:10:4611#include "chrome/browser/browser_process_platform_part_base.h"
12
[email protected]90a4b9d2013-07-31 12:14:4013namespace apps {
14class ExtensionAppShimHandler;
15}
16
[email protected]612d3bf2013-05-22 10:10:4617class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
18 public:
19 BrowserProcessPlatformPart();
Daniel Chenga542fca2014-10-21 09:51:2920 ~BrowserProcessPlatformPart() override;
[email protected]612d3bf2013-05-22 10:10:4621
22 // Overridden from BrowserProcessPlatformPartBase:
Daniel Chenga542fca2014-10-21 09:51:2923 void StartTearDown() override;
24 void AttemptExit() override;
25 void PreMainMessageLoopRun() override;
[email protected]90a4b9d2013-07-31 12:14:4026
27 AppShimHostManager* app_shim_host_manager();
[email protected]612d3bf2013-05-22 10:10:4628
29 private:
[email protected]90a4b9d2013-07-31 12:14:4030 // Hosts the IPC channel factory that App Shims connect to on Mac.
[email protected]ab1b5da2013-09-18 10:51:2731 scoped_refptr<AppShimHostManager> app_shim_host_manager_;
[email protected]90a4b9d2013-07-31 12:14:4032
[email protected]612d3bf2013-05-22 10:10:4633 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
34};
35
36#endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_