win: Fix compilation errors for chrome35.
This commit is contained in:
parent
497174bbe4
commit
8d4211bd3a
17 changed files with 44 additions and 60 deletions
|
@ -29,7 +29,7 @@ namespace {
|
|||
// is empty. This function tells if it is.
|
||||
bool ValidateShellCommandForScheme(const std::string& scheme) {
|
||||
base::win::RegKey key;
|
||||
std::wstring registry_path = ASCIIToWide(scheme) +
|
||||
std::wstring registry_path = base::ASCIIToWide(scheme) +
|
||||
L"\\shell\\open\\command";
|
||||
key.Open(HKEY_CLASSES_ROOT, registry_path.c_str(), KEY_READ);
|
||||
if (!key.Valid())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue