summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/install_from_dmg.h
blob: ec9248a2a08de50c8f97d0214eb3a362bda414a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_COCOA_INSTALL_FROM_DMG_H_
#define CHROME_BROWSER_COCOA_INSTALL_FROM_DMG_H_
#pragma once

// If the application is running from a read-only disk image, prompts the user
// to install it to the hard drive.  If the user approves, the application
// will be installed and launched, and MaybeInstallFromDiskImage will return
// true.  In that case, the caller must exit expeditiously.
bool MaybeInstallFromDiskImage();

#endif  // CHROME_BROWSER_COCOA_INSTALL_FROM_DMG_H_