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

Unified Diff: content/public/browser/browser_main_runner.h

Issue 9372027: Revert 121236 - Support sharing of ContentMain and BrowserMain code with embedded use cases (try ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « content/public/browser/browser_main_parts.h ('k') | content/shell/shell_browser_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_main_runner.h
===================================================================
--- content/public/browser/browser_main_runner.h (revision 121244)
+++ content/public/browser/browser_main_runner.h (working copy)
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
-#define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "content/common/content_export.h"
-
-namespace content {
-
-struct MainFunctionParams;
-
-// This class is responsible for browser initialization, running and shutdown.
-class BrowserMainRunner {
- public:
- virtual ~BrowserMainRunner() {}
-
- // Create a new BrowserMainRunner object.
- static BrowserMainRunner* Create();
-
- // Initialize all necessary browser state. The |parameters| values will be
- // copied.
- virtual int Initialize(const content::MainFunctionParams& parameters) = 0;
-
- // Perform the default run logic.
- virtual int Run() = 0;
-
- // Shut down the browser state.
- virtual void Shutdown() = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
« no previous file with comments | « content/public/browser/browser_main_parts.h ('k') | content/shell/shell_browser_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698