Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: chrome/browser/extensions/platform_app_launcher.h

Issue 10332071: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows tests fixed Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest.cc ('k') | chrome/browser/extensions/platform_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698