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

Side by Side Diff: sandbox/win/src/interception.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 5 years 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
« no previous file with comments | « sandbox/win/src/interception.h ('k') | sandbox/win/src/interception_agent.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // For information about interceptions as a whole see 5 // For information about interceptions as a whole see
6 // http://dev.chromium.org/developers/design-documents/sandbox . 6 // http://dev.chromium.org/developers/design-documents/sandbox .
7 7
8 #include <stddef.h>
9
8 #include <set> 10 #include <set>
9 11
10 #include "sandbox/win/src/interception.h" 12 #include "sandbox/win/src/interception.h"
11 13
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
15 #include "base/win/pe_image.h" 17 #include "base/win/pe_image.h"
16 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
17 #include "sandbox/win/src/interception_internal.h" 19 #include "sandbox/win/src/interception_internal.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 ::FreeLibrary(local_interceptor); 551 ::FreeLibrary(local_interceptor);
550 #endif 552 #endif
551 553
552 if (it != interceptions_.end()) 554 if (it != interceptions_.end())
553 return false; 555 return false;
554 556
555 return true; 557 return true;
556 } 558 }
557 559
558 } // namespace sandbox 560 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/win/src/interception.h ('k') | sandbox/win/src/interception_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698