Fix build and ensure no breaking change

This commit is contained in:
Samuel Attard 2017-12-06 07:58:48 +11:00 committed by Cheng Zhao
parent 5f7a173d1d
commit 87c2f0f14f
8 changed files with 91 additions and 31 deletions

View file

@ -1,13 +1,26 @@
#ifndef BRIGHTRAY_COMMON_APPLICATION_INFO_H_
#define BRIGHTRAY_COMMON_APPLICATION_INFO_H_
#if defined(OS_WIN)
#include "brightray/browser/win/scoped_hstring.h"
#endif
#include <string>
namespace brightray {
void OverrideApplicationName(const std::string& name);
std::string GetOverridenApplicationName();
std::string GetApplicationName();
std::string GetApplicationVersion();
}
#if defined(OS_WIN)
PCWSTR GetRawAppUserModelID();
bool GetAppUserModelID(ScopedHString* app_id);
void SetAppUserModelID(const base::string16& name);
#endif
} // namespace brightray
#endif // BRIGHTRAY_COMMON_APPLICATION_INFO_H_