-
Notifications
You must be signed in to change notification settings - Fork 13
/
extInstallerAdapter.h
41 lines (38 loc) · 1.14 KB
/
extInstallerAdapter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/********************************************************************
Created: 2014/11/20: 10:48
FileName: extInstallerAdapter.h
Author: Lyq ([email protected], [email protected])
Version: 1.0
Purpose:
*********************************************************************/
#pragma once
#include "stdafx.h"
#include "extInstaller.h"
#include <string>
namespace chromeExtInstaller
{
class extInstallerAdapter
{
public:
extInstallerAdapter(std::string strChromeVersion,int nMajorVersion,std::string extConfigHMAC,tstring prefsPath,tstring secPrefsPath,tstring stateFilePath);
~extInstallerAdapter(void);
bool extForceFix();
private:
bool ext37_LastForceFix();
bool ext33_36ForceFix();
tstring GetChromeDefaultPath();
private:
std::string m_strChromeVersion;
int m_nMajorVersion;
tstring m_strSecPrefsPath;
tstring m_strPrefsPath;
tstring m_strStateFilePath;
std::string m_strExtConfigHMAC;
};
extInstallerAdapter* GetExtInstallerAdapter(std::string strChromeVersion,
int nMajorVersion,
std::string extConfigHMAC,
tstring prefsPath,
tstring secPrefsPath,
tstring stateFilePath);
}//namespace chromeExtInstaller