forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use an alternate mechanism for CreateFile calls in Chrome
BUG=334379 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245464 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246313 Review URL: https://codereview.chromium.org/138593004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248380 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
caitkp@chromium.org
committed
Feb 2, 2014
1 parent
46b4e44
commit 2106f5f
Showing
11 changed files
with
805 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
LIBRARY "chrome_elf.dll" | ||
|
||
EXPORTS | ||
CreateFileW=CreateFileWRedirect | ||
SignalChromeElf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome_elf/chrome_elf_constants.h" | ||
|
||
const wchar_t kUserDataDirName[] = L"User Data"; | ||
const wchar_t kPreferencesFilename[] = L"Preferences"; | ||
const wchar_t kLocalStateFilename[] = L"Local State"; | ||
|
||
#if defined(GOOGLE_CHROME_BUILD) | ||
const wchar_t kAppDataDirName[] = L"Google\\Chrome"; | ||
#else | ||
const wchar_t kAppDataDirName[] = L"Chromium"; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// A handful of resource-like constants related to the ChromeELF. | ||
|
||
#ifndef CHROME_ELF_CHROME_ELF_CONSTANTS_H_ | ||
#define CHROME_ELF_CHROME_ELF_CONSTANTS_H_ | ||
|
||
// directory names | ||
extern const wchar_t kAppDataDirName[]; | ||
extern const wchar_t kPreferencesFilename[]; | ||
extern const wchar_t kLocalStateFilename[]; | ||
extern const wchar_t kUserDataDirName[]; | ||
|
||
#endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
; Copyright 2014 The Chromium Authors. All rights reserved. | ||
; Use of this source code is governed by a BSD-style license that can be | ||
; found in the LICENSE file. | ||
|
||
LIBRARY "chrome_redirects.dll" | ||
|
||
EXPORTS | ||
CreateFileW=CreateFileWRedirect |
Oops, something went wrong.