OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ | 5 #ifndef COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ |
6 #define COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ | 6 #define COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 struct MainFunctionParams; | 11 struct MainFunctionParams; |
12 } | 12 } |
13 | 13 |
14 class NaClMainPlatformDelegate { | 14 class NaClMainPlatformDelegate { |
15 public: | 15 public: |
16 NaClMainPlatformDelegate() = default; | 16 NaClMainPlatformDelegate() = default; |
17 | 17 |
18 // Initiate Lockdown. | 18 // Initiate Lockdown. |
19 void EnableSandbox(const content::MainFunctionParams& parameters); | 19 void EnableSandbox(const content::MainFunctionParams& parameters); |
20 | 20 |
21 private: | 21 private: |
22 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate); | 22 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate); |
23 }; | 23 }; |
24 | 24 |
25 #endif // COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ | 25 #endif // COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_ |
OLD | NEW |