| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_ |
| 7 #pragma once |
| 8 |
| 9 class CommandLine; |
| 10 class Profile; |
| 11 |
| 12 namespace extensions { |
| 13 |
| 14 class Extension; |
| 15 |
| 16 // Launches the platform app |extension|. Creates appropriate launch data for |
| 17 // the |command_line| fields present. |extension| and |profile| must not be |
| 18 // NULL. A NULL |command_line| means there is no launch data. |
| 19 void LaunchPlatformApp(Profile* profile, |
| 20 const Extension* extension, |
| 21 const CommandLine* command_line); |
| 22 |
| 23 } // namespace extensions |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_ |
| OLD | NEW |