Chromium Code Reviews| Index: apps/app_shim/app_shim_util.h |
| diff --git a/apps/app_shim/app_shim_util.h b/apps/app_shim/app_shim_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b9433b04d49de331e1447d5b2eb1770c3083c42a |
| --- /dev/null |
| +++ b/apps/app_shim/app_shim_util.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef APPS_APP_SHIM_APP_SHIM_UTIL_H_ |
|
tapted
2013/05/16 04:51:00
this should have a _mac suffix too
|
| +#define APPS_APP_SHIM_APP_SHIM_UTIL_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/callback.h" |
| +#include "base/files/file_path.h" |
| + |
| +namespace app_shim { |
|
tapted
2013/05/16 04:51:00
should just be namespace apps. There's some rule;
|
| + |
| +// Returns the directory where app shim bundles are stored, or an empty path if |
| +// no such path exists (for example, if there is no Applications directory). |
| +base::FilePath GetAppShimFolder(); |
| + |
| +void FindAndLaunchShimForApp(const std::string& app_id, |
| + const std::string& profile_name, |
| + base::Callback<void(bool)> completed); |
| + |
| +} // namespace app_shim |
| + |
| +#endif // APPS_APP_SHIM_APP_SHIM_UTIL_H_ |