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

Unified Diff: apps/shell/browser/default_shell_browser_main_delegate.h

Issue 270763002: Minimal athena shell main (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: apps/shell/browser/default_shell_browser_main_delegate.h
diff --git a/apps/shell/browser/default_shell_browser_main_delegate.h b/apps/shell/browser/default_shell_browser_main_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..d808f11b7b086aa6470105917c22e0e0b378768b
--- /dev/null
+++ b/apps/shell/browser/default_shell_browser_main_delegate.h
@@ -0,0 +1,30 @@
+// Copyright 2014 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 APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
+#define APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
+
+#include "apps/shell/browser/shell_browser_main_delegate.h"
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+
+namespace apps {
+
+// A ShellBrowserMainDelegate that starts an application specified
+// by the "--app" command line. This is used only in the browser process.
+class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate {
+ public:
+ DefaultShellBrowserMainDelegate();
+ virtual ~DefaultShellBrowserMainDelegate();
+
+ // ShellBrowserMainDelegate:
+ virtual void Start(content::BrowserContext* context) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate);
+};
+
+} // namespace apps
+
+#endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698