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

Side by Side Diff: components/nacl/loader/nacl_main_platform_delegate.h

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 5 #ifndef COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_
6 #define CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 6 #define COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_
7 7
8 #include "base/native_library.h" 8 #include "base/native_library.h"
9 #include "content/public/common/main_function_params.h" 9 #include "content/public/common/main_function_params.h"
10 10
11 typedef bool (*RunNaClLoaderTests)(void); 11 typedef bool (*RunNaClLoaderTests)(void);
12 const char kNaClLoaderTestCall[] = "RunNaClLoaderTests"; 12 const char kNaClLoaderTestCall[] = "RunNaClLoaderTests";
13 13
14 class NaClMainPlatformDelegate { 14 class NaClMainPlatformDelegate {
15 public: 15 public:
16 explicit NaClMainPlatformDelegate( 16 explicit NaClMainPlatformDelegate(
(...skipping 17 matching lines...) Expand all
34 // Returns false if the tests are supplied and fail. 34 // Returns false if the tests are supplied and fail.
35 bool RunSandboxTests(); 35 bool RunSandboxTests();
36 36
37 private: 37 private:
38 const content::MainFunctionParams& parameters_; 38 const content::MainFunctionParams& parameters_;
39 base::NativeLibrary sandbox_test_module_; 39 base::NativeLibrary sandbox_test_module_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate); 41 DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate);
42 }; 42 };
43 43
44 #endif // CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_ 44 #endif // COMPONENTS_NACL_LOADER_NACL_MAIN_PLATFORM_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_main.cc ('k') | components/nacl/loader/nacl_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698