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

Unified Diff: chrome/renderer/renderer_main_platform_delegate.h

Issue 6878002: Move renderer_main and renderer_glue to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/renderer/renderer_main.cc ('k') | chrome/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_main_platform_delegate.h
===================================================================
--- chrome/renderer/renderer_main_platform_delegate.h (revision 81952)
+++ chrome/renderer/renderer_main_platform_delegate.h (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2009 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_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_
-#define CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_
-#pragma once
-
-#include "content/common/main_function_params.h"
-
-class RendererMainPlatformDelegate {
- public:
- explicit RendererMainPlatformDelegate(const MainFunctionParams& parameters);
- ~RendererMainPlatformDelegate();
-
- // 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.
- bool InitSandboxTests(bool no_sandbox);
-
- // Initiate Lockdown, returns true on success.
- bool EnableSandbox();
-
- // Runs Sandbox tests.
- void RunSandboxTests();
-
- private:
- const MainFunctionParams& parameters_;
-#if defined(OS_WIN)
- HMODULE sandbox_test_module_;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(RendererMainPlatformDelegate);
-};
-
-#endif // CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_
« no previous file with comments | « chrome/renderer/renderer_main.cc ('k') | chrome/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698