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

Unified Diff: chrome/nacl/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, 6 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 | « chrome/nacl/nacl_main.cc ('k') | chrome/nacl/nacl_main_platform_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_main_platform_delegate.h
diff --git a/chrome/nacl/nacl_main_platform_delegate.h b/chrome/nacl/nacl_main_platform_delegate.h
deleted file mode 100644
index a2d019eb600083f0e4e3d7252273f5e3a3e2b082..0000000000000000000000000000000000000000
--- a/chrome/nacl/nacl_main_platform_delegate.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 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 CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
-#define CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
-
-#include "base/native_library.h"
-#include "content/public/common/main_function_params.h"
-
-typedef bool (*RunNaClLoaderTests)(void);
-const char kNaClLoaderTestCall[] = "RunNaClLoaderTests";
-
-class NaClMainPlatformDelegate {
- public:
- explicit NaClMainPlatformDelegate(
- const content::MainFunctionParams& parameters);
- ~NaClMainPlatformDelegate();
-
- // Called first thing and last thing in the process' lifecycle, i.e. before
- // the sandbox is enabled.
- void PlatformInitialize();
- void PlatformUninitialize();
-
- // Gives us an opportunity to initialize state used for tests before enabling
- // the sandbox.
- void InitSandboxTests(bool no_sandbox);
-
- // Initiate Lockdown.
- void EnableSandbox();
-
- // Runs the sandbox tests for the NaCl Loader, if tests supplied.
- // Cannot run again, after this (resources freed).
- // Returns false if the tests are supplied and fail.
- bool RunSandboxTests();
-
- private:
- const content::MainFunctionParams& parameters_;
- base::NativeLibrary sandbox_test_module_;
-
- DISALLOW_COPY_AND_ASSIGN(NaClMainPlatformDelegate);
-};
-
-#endif // CHROME_NACL_NACL_MAIN_PLATFORM_DELEGATE_H_
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/nacl/nacl_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698