| OLD | NEW | 
|---|
| 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/sandbox_policy_base.h" | 5 #include "sandbox/src/sandbox_policy_base.h" | 
| 6 | 6 | 
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" | 
|  | 8 #include "base/logging.h" | 
| 8 #include "sandbox/src/filesystem_dispatcher.h" | 9 #include "sandbox/src/filesystem_dispatcher.h" | 
| 9 #include "sandbox/src/filesystem_policy.h" | 10 #include "sandbox/src/filesystem_policy.h" | 
| 10 #include "sandbox/src/job.h" | 11 #include "sandbox/src/job.h" | 
| 11 #include "sandbox/src/interception.h" | 12 #include "sandbox/src/interception.h" | 
| 12 #include "sandbox/src/named_pipe_dispatcher.h" | 13 #include "sandbox/src/named_pipe_dispatcher.h" | 
| 13 #include "sandbox/src/named_pipe_policy.h" | 14 #include "sandbox/src/named_pipe_policy.h" | 
| 14 #include "sandbox/src/policy_broker.h" | 15 #include "sandbox/src/policy_broker.h" | 
| 15 #include "sandbox/src/policy_engine_processor.h" | 16 #include "sandbox/src/policy_engine_processor.h" | 
| 16 #include "sandbox/src/policy_low_level.h" | 17 #include "sandbox/src/policy_low_level.h" | 
| 17 #include "sandbox/src/process_thread_dispatcher.h" | 18 #include "sandbox/src/process_thread_dispatcher.h" | 
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 356     return false; | 357     return false; | 
| 357 | 358 | 
| 358   if (!manager.InitializeInterceptions()) | 359   if (!manager.InitializeInterceptions()) | 
| 359     return false; | 360     return false; | 
| 360 | 361 | 
| 361   // Finally, setup imports on the target so the interceptions can work. | 362   // Finally, setup imports on the target so the interceptions can work. | 
| 362   return SetupNtdllImports(target); | 363   return SetupNtdllImports(target); | 
| 363 } | 364 } | 
| 364 | 365 | 
| 365 }  // namespace sandbox | 366 }  // namespace sandbox | 
| OLD | NEW | 
|---|