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