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

Unified Diff: apps/shell/app/shell_main.cc

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
« no previous file with comments | « no previous file | apps/shell/app/shell_main_delegate.h » ('j') | apps/shell/app/shell_main_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/app/shell_main.cc
diff --git a/apps/shell/app/shell_main.cc b/apps/shell/app/shell_main.cc
index cd44b99d7c9d504fb4263040e1d802753df97be2..e31bae83b0b72f7200a2632456e7f80a7462a30f 100644
--- a/apps/shell/app/shell_main.cc
+++ b/apps/shell/app/shell_main.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "apps/shell/app/shell_main_delegate.h"
+#include "apps/shell/browser/shell_app_starter.h"
#include "content/public/app/content_main.h"
#if defined(OS_WIN)
@@ -15,7 +16,8 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
#else
int main(int argc, const char** argv) {
#endif
- apps::ShellMainDelegate delegate;
+ apps::StartCallback start_callback = apps::CreateDefaultStarter();
+ apps::ShellMainDelegate delegate(&start_callback);
content::ContentMainParams params(&delegate);
#if defined(OS_WIN)
« no previous file with comments | « no previous file | apps/shell/app/shell_main_delegate.h » ('j') | apps/shell/app/shell_main_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698