OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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 APPS_APP_SHIM_APP_SHIM_UTIL_H_ | |
tapted
2013/05/16 04:51:00
this should have a _mac suffix too
| |
6 #define APPS_APP_SHIM_APP_SHIM_UTIL_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/callback.h" | |
11 #include "base/files/file_path.h" | |
12 | |
13 namespace app_shim { | |
tapted
2013/05/16 04:51:00
should just be namespace apps. There's some rule;
| |
14 | |
15 // Returns the directory where app shim bundles are stored, or an empty path if | |
16 // no such path exists (for example, if there is no Applications directory). | |
17 base::FilePath GetAppShimFolder(); | |
18 | |
19 void FindAndLaunchShimForApp(const std::string& app_id, | |
20 const std::string& profile_name, | |
21 base::Callback<void(bool)> completed); | |
22 | |
23 } // namespace app_shim | |
24 | |
25 #endif // APPS_APP_SHIM_APP_SHIM_UTIL_H_ | |
OLD | NEW |