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

Side by Side Diff: sandbox/win/tools/finder/finder.cc

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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 | « sandbox/win/tools/finder/finder.h ('k') | sandbox/win/tools/finder/finder.vcproj » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "sandbox/src/restricted_token.h" 5 #include "sandbox/win/src/restricted_token.h"
6 #include "sandbox/src/restricted_token_utils.h" 6 #include "sandbox/win/src/restricted_token_utils.h"
7 #include "sandbox/tools/finder/finder.h" 7 #include "sandbox/win/tools/finder/finder.h"
8 8
9 Finder::Finder() { 9 Finder::Finder() {
10 file_output_ = NULL; 10 file_output_ = NULL;
11 object_type_ = 0; 11 object_type_ = 0;
12 access_type_ = 0; 12 access_type_ = 0;
13 token_handle_ = NULL; 13 token_handle_ = NULL;
14 memset(filesystem_stats_, 0, sizeof(filesystem_stats_)); 14 memset(filesystem_stats_, 0, sizeof(filesystem_stats_));
15 memset(registry_stats_, 0, sizeof(registry_stats_)); 15 memset(registry_stats_, 0, sizeof(registry_stats_));
16 memset(kernel_object_stats_, 0, sizeof(kernel_object_stats_)); 16 memset(kernel_object_stats_, 0, sizeof(kernel_object_stats_));
17 } 17 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 if (object_type_ & kScanFileSystem) { 55 if (object_type_ & kScanFileSystem) {
56 ParseFileSystem(L"\\\\?\\C:"); 56 ParseFileSystem(L"\\\\?\\C:");
57 } 57 }
58 58
59 if (object_type_ & kScanKernelObjects) { 59 if (object_type_ & kScanKernelObjects) {
60 ParseKernelObjects(L"\\"); 60 ParseKernelObjects(L"\\");
61 } 61 }
62 62
63 return ERROR_SUCCESS; 63 return ERROR_SUCCESS;
64 } 64 }
OLDNEW
« no previous file with comments | « sandbox/win/tools/finder/finder.h ('k') | sandbox/win/tools/finder/finder.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698