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

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

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2008 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 #include "sandbox/win/src/restricted_token.h" 5 #include "sandbox/win/src/restricted_token.h"
6 #include "sandbox/win/src/restricted_token_utils.h" 6 #include "sandbox/win/src/restricted_token_utils.h"
7 #include "sandbox/win/tools/finder/finder.h" 7 #include "sandbox/win/tools/finder/finder.h"
8 #include "sandbox/win/tools/finder/ntundoc.h" 8 #include "sandbox/win/tools/finder/ntundoc.h"
9 9
10 #define BUFFER_SIZE 0x800 10 #define BUFFER_SIZE 0x800
11 #define CHECKPTR(x) if (!x) return ::GetLastError() 11 #define CHECKPTR(x) if (!x) return ::GetLastError()
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 else if (type == L"SymbolicLink") func = NtOpenSymbolicLinkObject; 239 else if (type == L"SymbolicLink") func = NtOpenSymbolicLinkObject;
240 else if (type == L"Directory") func = NtOpenDirectoryObject; 240 else if (type == L"Directory") func = NtOpenDirectoryObject;
241 241
242 if (func) { 242 if (func) {
243 *func_to_call = func; 243 *func_to_call = func;
244 return true; 244 return true;
245 } 245 }
246 246
247 return false; 247 return false;
248 } 248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698