2013-04-08 12:41:30 -04:00
|
|
|
#ifndef BRIGHTRAY_COMMON_APPLICATION_INFO_H_
|
|
|
|
#define BRIGHTRAY_COMMON_APPLICATION_INFO_H_
|
|
|
|
|
2017-12-06 07:58:48 +11:00
|
|
|
#if defined(OS_WIN)
|
2018-06-21 16:45:45 -07:00
|
|
|
#include "base/strings/string16.h"
|
2017-12-06 07:58:48 +11:00
|
|
|
#include "brightray/browser/win/scoped_hstring.h"
|
|
|
|
#endif
|
|
|
|
|
2013-04-08 12:41:30 -04:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
2017-12-06 07:58:48 +11:00
|
|
|
void OverrideApplicationName(const std::string& name);
|
2018-02-20 10:16:51 -06:00
|
|
|
std::string GetOverriddenApplicationName();
|
|
|
|
|
|
|
|
void OverrideApplicationVersion(const std::string& version);
|
|
|
|
std::string GetOverriddenApplicationVersion();
|
2017-12-06 07:58:48 +11:00
|
|
|
|
2013-04-08 12:41:30 -04:00
|
|
|
std::string GetApplicationName();
|
|
|
|
std::string GetApplicationVersion();
|
|
|
|
|
2017-12-06 07:58:48 +11:00
|
|
|
#if defined(OS_WIN)
|
|
|
|
PCWSTR GetRawAppUserModelID();
|
|
|
|
bool GetAppUserModelID(ScopedHString* app_id);
|
|
|
|
void SetAppUserModelID(const base::string16& name);
|
2018-09-05 09:06:29 -07:00
|
|
|
bool IsRunningInDesktopBridge();
|
2017-12-06 07:58:48 +11:00
|
|
|
#endif
|
|
|
|
|
|
|
|
} // namespace brightray
|
2013-04-08 12:41:30 -04:00
|
|
|
|
2017-05-18 15:05:25 -07:00
|
|
|
#endif // BRIGHTRAY_COMMON_APPLICATION_INFO_H_
|