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

Unified Diff: sandbox/src/registry_dispatcher.h

Issue 873006: Re-land second sandbox round of changes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/src/process_thread_policy.cc ('k') | sandbox/src/registry_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/src/registry_dispatcher.h
===================================================================
--- sandbox/src/registry_dispatcher.h (revision 41493)
+++ sandbox/src/registry_dispatcher.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2010 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.
-#ifndef SANDBOX_SRC_REGISTRY_DISPATCHER_H__
-#define SANDBOX_SRC_REGISTRY_DISPATCHER_H__
+#ifndef SANDBOX_SRC_REGISTRY_DISPATCHER_H_
+#define SANDBOX_SRC_REGISTRY_DISPATCHER_H_
#include "base/basictypes.h"
#include "sandbox/src/crosscall_server.h"
@@ -23,12 +23,12 @@
private:
// Processes IPC requests coming from calls to NtCreateKey in the target.
bool NtCreateKey(IPCInfo* ipc, std::wstring* name, DWORD attributes,
- DWORD root_directory, DWORD desired_access,
+ HANDLE root, DWORD desired_access,
DWORD title_index, DWORD create_options);
// Processes IPC requests coming from calls to NtOpenKey in the target.
bool NtOpenKey(IPCInfo* ipc, std::wstring* name, DWORD attributes,
- DWORD root_directory, DWORD desired_access);
+ HANDLE root, DWORD desired_access);
PolicyBase* policy_base_;
DISALLOW_EVIL_CONSTRUCTORS(RegistryDispatcher);
@@ -36,4 +36,4 @@
} // namespace sandbox
-#endif // SANDBOX_SRC_REGISTRY_DISPATCHER_H__
+#endif // SANDBOX_SRC_REGISTRY_DISPATCHER_H_
« no previous file with comments | « sandbox/src/process_thread_policy.cc ('k') | sandbox/src/registry_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698