1 // Copyright (c) 2010 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_COCOA_INSTALL_FROM_DMG_H_ 6 #define CHROME_BROWSER_COCOA_INSTALL_FROM_DMG_H_ 7 #pragma once 8 9 // If the application is running from a read-only disk image, prompts the user 10 // to install it to the hard drive. If the user approves, the application 11 // will be installed and launched, and MaybeInstallFromDiskImage will return 12 // true. In that case, the caller must exit expeditiously. 13 bool MaybeInstallFromDiskImage(); 14 15 #endif // CHROME_BROWSER_COCOA_INSTALL_FROM_DMG_H_ 16