| 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..eaea3bde156a8dd77f464b4d0e84c638c7b8e961
|
| --- /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/compiler_specific.h"
|
| +#include "base/macros.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_
|
|
|