Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / browser_process_platform_part_mac.h
blobd78ee990bab2172f3e673a8da5b1a603e4c3f778
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.
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_
8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h"
11 #include "chrome/browser/browser_process_platform_part_base.h"
13 namespace apps {
14 class ExtensionAppShimHandler;
17 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
18 public:
19 BrowserProcessPlatformPart();
20 ~BrowserProcessPlatformPart() override;
22 // Overridden from BrowserProcessPlatformPartBase:
23 void StartTearDown() override;
24 void AttemptExit() override;
25 void PreMainMessageLoopRun() override;
27 AppShimHostManager* app_shim_host_manager();
29 private:
30 // Hosts the IPC channel factory that App Shims connect to on Mac.
31 scoped_refptr<AppShimHostManager> app_shim_host_manager_;
33 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
36 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_MAC_H_