Add API to override browser version.
This commit is contained in:
parent
02bbf07d3a
commit
420ae1a2cc
6 changed files with 40 additions and 3 deletions
|
@ -43,7 +43,7 @@ void Browser::Focus() {
|
|||
EnumWindows(&WindowsEnumerationHandler, reinterpret_cast<LPARAM>(&pid));
|
||||
}
|
||||
|
||||
std::string Browser::GetVersion() {
|
||||
std::string Browser::GetExecutableFileVersion() const {
|
||||
base::FilePath path;
|
||||
if (PathService::Get(base::FILE_EXE, &path)) {
|
||||
scoped_ptr<FileVersionInfo> version_info(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue