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

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: Fix bad merge 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 Extension;
11 class Profile;
12
13 namespace extensions {
14
15 // Launches the platform app |extension|. Creates appropriate launch data for
16 // the |command_line| fields present. |extension| and |profile| must not be
17 // NULL. A NULL |command_line| means there is no launch data.
18 void LaunchPlatformApp(const CommandLine* command_line,
Mihai Parparita -not on Chrome 2012/05/15 00:39:28 Nit: seems like command_line should be the last pa
benwells 2012/05/18 03:36:02 Done.
19 Profile* profile,
20 const Extension* extension);
21
22 } // namespace extensions
23
24 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698