Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: chrome_elf/chrome_redirects_main.cc

Issue 169093007: Modify fileAtPath stat to track if the call was redirected by chrome_elf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_elf/chrome_redirects.def ('k') | chrome_elf/create_file/chrome_create_file.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 6
7 #include "chrome_elf/ntdll_cache.h"
8
7 BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { 9 BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
10 if (reason == DLL_PROCESS_ATTACH)
11 InitCache();
12
8 return TRUE; 13 return TRUE;
9 } 14 }
OLDNEW
« no previous file with comments | « chrome_elf/chrome_redirects.def ('k') | chrome_elf/create_file/chrome_create_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698