Home | History | Annotate | Download | only in browser
      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
      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"
      9 #include "base/memory/scoped_ptr.h"
     10 #include "chrome/browser/browser_process_platform_part_base.h"
     11 
     12 class AppShimHostManager;
     13 
     14 namespace apps {
     15 class ExtensionAppShimHandler;
     16 }
     17 
     18 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
     19  public:
     20   BrowserProcessPlatformPart();
     21   virtual ~BrowserProcessPlatformPart();
     22 
     23   // Overridden from BrowserProcessPlatformPartBase:
     24   virtual void StartTearDown() OVERRIDE;
     25   virtual void AttemptExit() OVERRIDE;
     26   virtual void PreMainMessageLoopRun() OVERRIDE;
     27 
     28   AppShimHostManager* app_shim_host_manager();
     29 
     30  private:
     31   // Hosts the IPC channel factory that App Shims connect to on Mac.
     32   scoped_ptr<AppShimHostManager> app_shim_host_manager_;
     33 
     34   DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
     35 };
     36 
     37 #endif  // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_
     38